Laurent Destailleur
2142860685
Fix warning
2025-09-16 01:14:43 +02:00
ldestailleur
2791d3ccf5
Fix warning
2025-09-04 14:44:23 +02:00
ldestailleur
598ce78b06
Fix warning
2025-08-09 17:10:42 +02:00
Frédéric FRANCE
e95235b977
clean code ( #34882 )
...
* clean code
* clean code
* clean code
* clean code
* clean code
2025-08-06 19:25:15 +02:00
ldestailleur
d0aa0df4f6
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0
2025-08-06 12:37:00 +02:00
ldestailleur
26a020fae6
Fix CI
2025-08-06 12:10:08 +02:00
MDW
d2328ef852
Qual: Fix webservices + new phan notice
2025-02-26 21:21:15 +01:00
MDW
9ec4618199
Qual: Fix FunctionArray phan notices ( #31754 )
...
* Qual: Fix FunctionArray phan notices
* Fix class name in typing of htdocs/modulebuilder/index.php
* Fix customreports phpdoc
* Adjust file type after completeFileArrayWithDatabaseInfo
* Further phpdoc typing improvements
* More phpdoc
* Improve typing with cast on position field
* Force phpstan version
* Add phpstan exception
* Fix array index type + adjust phan config comment
2024-11-11 14:48:18 +01:00
Frédéric FRANCE
0d7bc505d3
add phpdoc and clean phpstan baseline ( #31702 )
...
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
Frédéric FRANCE
57ebe1479a
fix phpstan ( #31579 )
...
* fix phpstan
* fix phpstan
2024-10-27 00:36:54 +02:00
MDW
42bb4fbf3e
Qual: Enable & fix or ignore Invalid DimOffset ( #31176 )
...
* 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 >
2024-09-29 21:52:31 +02:00
Laurent Destailleur
f002fb4ed1
Use the non deprecated function loadRights instead of getrights
2024-08-02 10:36:43 +02:00
MDW
187e715bc5
Fix PhanTypeSuspiciousStringExpression
2024-03-19 02:43:58 +01:00
Laurent Destailleur
87aded900f
Fix doxygen
2024-02-24 14:31:39 +01:00
Laurent Destailleur
619155f65e
Fix with php-cs-fixer
2023-12-04 13:53:48 +01:00
Laurent Destailleur
075ee02901
Fix php8.2 warnings
2023-11-27 12:08:48 +01:00
Frédéric FRANCE
8a19e2f251
fix phpstan ( #26781 )
2023-11-21 23:39:52 +01:00
Laurent Destailleur
b37a438067
The property ->user_validation to store ID of user validating has been
...
renamed into ->user_validation_id.
2023-10-17 11:10:25 +02:00
Laurent Destailleur
7a3e6606b7
Fix php8.2 warnings
2023-10-15 18:46:18 +02:00
Laurent Destailleur
ec3fcd852a
Fix #yogosha16039
2023-04-24 12:46:52 +02:00
Laurent Destailleur
fb46ece906
Fix yogosha 6347
2021-06-09 15:36:47 +02:00
Frédéric FRANCE
db871994fb
code syntax variants webservice directory
2021-02-26 13:10:10 +01:00
Frédéric FRANCE
04c25a01af
deprecate non camelCaps functions
2021-02-09 13:10:11 +01:00
Frédéric FRANCE
f394e55ade
deprecate non camelCaps functions
2021-02-09 10:26:17 +01:00
Laurent Destailleur
620a088827
Fix warning
2020-12-29 16:33:58 +01:00
Laurent Destailleur
b7cd27e76a
Fix warning
2020-12-28 12:42:55 +01:00
Laurent Destailleur
cec96b33ae
Fix warning
2020-12-28 12:30:59 +01:00
Scrutinizer Auto-Fixer
ab25e047c0
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 17:51:30 +00:00
Scrutinizer Auto-Fixer
7f52920716
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-10-31 13:32:18 +00:00
Laurent Destailleur
b8fe2188a6
Standardize code around model_pdf
2020-09-10 01:49:09 +02:00
Frédéric FRANCE
ee6fadd0d5
add new rule
2020-05-21 01:41:27 +02:00
Scrutinizer Auto-Fixer
444c293c01
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2020-04-10 08:59:32 +00:00
Laurent Destailleur
c02cd80b75
Clean code
2019-11-12 10:11:30 +01:00
Frédéric FRANCE
a7797ba1da
clean indent in variants directory
2019-10-26 20:53:39 +02:00
Frédéric FRANCE
e75f7d448c
Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen
2019-10-16 20:00:01 +02:00
Alexandre SPANGARO
02dbc11f98
Move Gnu.org to https
2019-09-23 21:55:30 +02:00
Laurent Destailleur
c0b6699b25
All methods set_draft() were renamed into setDraft()
2019-03-15 19:01:40 +01:00
Frédéric FRANCE
1e43f8e54a
PEAR FunctionCallSignature
2019-02-10 10:45:49 +01:00
Frédéric FRANCE
b10558bacd
Merge remote-tracking branch 'upstream/develop' into nospaceaftercomma
2019-01-27 23:23:38 +01:00
Frédéric FRANCE
f0cdf300d1
Squiz.Functions.FunctionDeclarationArgumentSpacing
2019-01-27 15:20:16 +01:00
Frédéric FRANCE
7ee086b402
PSR2 space after comma in function call
2019-01-27 11:55:16 +01:00
Laurent Destailleur
98b8113a39
Fix multicompany
2018-12-14 16:20:23 +01:00
Maxime Kohlhaas
2e496ea83a
QUAL rename facnumber by ref
2018-12-02 17:33:44 +01:00
Frédéric FRANCE
86d854f3f4
Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose
2018-10-24 23:04:26 +02:00
Frédéric FRANCE
3f4db55614
test include
2018-07-26 11:34:51 +02:00
Laurent Destailleur
d40dda83cf
Add API "close" for proposals
...
Standardize code
2017-10-18 11:10:08 +02:00
cam.lafit
ec25869ec6
FIX : UpdateInvoice create object
...
* To update data, function must work on invoice object
2017-05-18 10:47:07 +02:00
cam.lafit
682f6f838e
Change argument list CreateInvoiceFromOrder
...
* invoice data are not mandatory
Only order information are required
2017-05-18 10:36:37 +02:00
cam.lafit
545e41b858
Fix : CreateInvoiceFromOrder result
...
* We should be return same informations as other CreateInvoice function
* Also invoice data can't be converted correctly by NuSoap, we can have some PHP error with invoice object
2017-05-18 10:34:17 +02:00
cam.lafit
94ca528860
FIX : CreateInvoiceFromOrder prototype
...
* SOAP declaration must follow function argument list
2017-05-18 10:33:12 +02:00