* Fix: Handle facture modulepart depr + optimise
# Fix: Handle facture modulepart depr + optimise
Add a case for 'facture' to 'invoice' conversion for the 'modulepart'
(issue seen when introducing DolDeprationHandler).
Use elseif for optimisation.
* Fix: Replace deprecated php aliases with actual functions
# Fix: Replace deprecated php aliases with actual functions
Replacements of join with implode.
* Fix: Replace deprecated php aliases with actual functions
# Fix: Replace deprecated php aliases with actual functions
Replacements of join with implode.
* Fix: Replace deprecated php aliases with actual functions
# Fix: Replace deprecated php aliases with actual functions
Replacements of join with implode.
# Qual: Add custom phan plugin to detect var_dump
This adds a custom plugin to detect the presence of var_dump.
Also disable a standard plugin in the extended configuration
(avoid reporting suggestions to add typing to the function
definitions (/declarations).
* Fix: Fix var_dump checker
# Fix: Fix var_dump checker
The core issue was that in PHP whitespace includes newlines by default, the m modifier
is needed to not match multilines.
* Fix: Allow multiple var_dumps on single comment line, refactor
# Fix: Allow multiple var_dumps on single comment line, refactor
Updated the regex to not match a var_dump preceeded with a comment
somewhere on the line.
Refactored var_dump check in dedicated method.
* Qual: Test the test function !
# Qual: Test the test function !
Test that the test function detecting var_dump does detect them.
* Qual: CodingPhpTest - remove comments from file before checking
# Qual: CodingPhpTest - remove comments from file before checking
This helps remove false positives and may have a positive impact on performance.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fixes an error by initializing ->line in the insert_discount method.
* Update propal.class.php
---------
Co-authored-by: David IGREJA <david@siladel.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* fix phpstan
Property PaymentVarious::$id (int) does not accept null.
Property PaymentVarious::$ref (string) does not accept null.
* Update emailcollector.lib.php
* NEW #28070 Adding mobile phone to thirdparty
* fix indenting
* trying to fix build errors
* too many parentases and missing;
* Update actions_card_common.class.php
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>