* short_open_tag was always on No
* Fix Bug - Return an error if SOCIETE_EMAIL_UNIQUE = 1
if SOCIETE_EMAIL_UNIQUE is on 1, this form return an error because thirdparty already exist.
* fix issue n°31839
* fix wrong parameters
* fix issue n°30845
* Revert "fix issue n°30845"
This reverts commit cf88b7b236.
* fix issue n°30845
* replace space by tabs for CI
* fix cat statement
* precommit is very ball breaker ;-)
* is this the right one?
* fix precommit error
* Please phpstan...
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Qual: Enable & fix or ignore Invalid DimOffset
# Qual: Enable & fix or ignore Invalid DimOffset
The Invalid DimOffset notices occur when array keys are defined and
the index used is not amongst the known array keys.
This PR enables these notices and fixes array definitions when needed,
or ignores the notices locally if it's a false positive, or in the
baseline.txt when it does not seem to be a false positive so that
it can be fixed later
* Nullable object typing in function signature not ok for 7.0/8.4
Can't user '?User' as argument type for PHP7.0 which is required by PHP8.4.
Therefore, removing the typing specification in the function definition
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Qual: Fix getTooltipContentArray typing hints
# Qual: Fix getTooltipContentArray typing hints
This defines the aray type for all getTooltipContentArray occurences
* Ignore undeclared property ref_supplier (does not exist on OrderLine)
* fix phpstan empty olcopy is not falsy
* fix phpstan empty olcopy is not falsy
* remove code not used
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Fix: join->implode
# Fix: join->implode
Update new cases of join
* Fix: Duplicate if condition in if/else sequence
# Fix: Duplicate if condition in if/else sequence
Fixed repeated if condition and action
the modulebuilder template (so first param is now always $user), except
the delete for thirdparty (still accept the id of thirdparty to delete
as first parameter). Will probably be modified into another version.
htdocs/resource/class/dolresource.class.php 723 Property Dolresource::$busy (int) does not accept string.
htdocs/resource/class/dolresource.class.php 726 Property Dolresource::$mandatory (int) does not accept string.
* Use address, town, zip & email from CommonPeople
* Use element & table_element from CommonObject
* Updated PHPDoc
* Deleted unused properties
* Revert "Use element & table_element from CommonObject"
This reverts commit 88a06164d1.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
# Qual: Fix spelling htdocs/[q-z]*
Probably fixes a bug:
- htdocs/webservices/server_thirdparty.php
No other occurence of adress found.
-'adress'=>->adress,- +'address'=>->address,+