Commit Graph

13336 Commits

Author SHA1 Message Date
MDW
27e89df94d Fix PhanPluginSuspiciousParamPosition 2024-03-14 19:39:33 +01:00
Laurent Destailleur
c867bc2706 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-13 22:36:45 +01:00
Laurent Destailleur
8bfc0779c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-13 22:20:08 +01:00
Laurent Destailleur
3dd6b7a4c7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-13 18:40:12 +01:00
Laurent Destailleur
3cc9467ee4 Clean code 2024-03-13 18:39:51 +01:00
Laurent Destailleur
cad8f24322 Merge pull request #28799 from mdeweerd/fix/PhanPluginDuplicateExpressionAssignmentOperation
Fix & enable PhanPluginDuplicateExpressionAssignment
2024-03-13 14:49:21 +01:00
Eric Seigne
3d449b8fce phpdoc missing argument type, thanks to phpstan ! 2024-03-13 11:54:05 +01:00
Eric Seigne
3a0bf96e92 add password and genericpassword entry types 2024-03-13 11:49:03 +01:00
MDW
a1f332586c Fix PhanPluginRedundantAssignment 2024-03-13 00:40:50 +01:00
MDW
60359aa418 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:49 +01:00
MDW
c3647c3af6 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:48 +01:00
MDW
6d6cbff08e Fix PhanPluginRedundantAssignment 2024-03-13 00:40:47 +01:00
MDW
271525deaa Fix PhanPluginRedundantAssignment 2024-03-13 00:40:46 +01:00
MDW
0302e4f2b5 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:45 +01:00
MDW
81fde8ffc3 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:44 +01:00
MDW
5668974d46 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:44 +01:00
MDW
c76c08e9f0 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:43 +01:00
MDW
509357d632 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:42 +01:00
MDW
d33e0a69ca Fix PhanPluginRedundantAssignment 2024-03-13 00:40:41 +01:00
MDW
e670fcc32e Fix PhanPluginDuplicateExpressionAssignment (NOOP assignment) 2024-03-12 22:25:36 +01:00
Laurent Destailleur
d51b0f9ae4 Merge pull request #28792 from mdeweerd/fix/PhanTypeExpectedObjectOrClassName_part1
Fix/phan type expected object or class name part1
2024-03-12 22:14:14 +01:00
MDW
4bc9f52957 Fix PhanPluginMixedKeyNoKey - real missing key/value mapping 2024-03-12 21:35:42 +01:00
Laurent Destailleur
0968183f6a Merge pull request #28794 from mdeweerd/fix/PhanPluginDuplicateIfCondition
Fix: fix/PhanPluginDuplicateIfCondition
2024-03-12 21:24:06 +01:00
Laurent Destailleur
03798025b9 FIX #28787 2024-03-12 20:44:02 +01:00
MDW
7e52b2f632 Fix duplicate if condition with same effect 2024-03-12 19:13:40 +01:00
MDW
bba0d4661e Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:03 +01:00
Laurent Destailleur
16edaf9208 Merge pull request #28783 from lamrani002/cMailFileSendmail
fix method sendfile return type
2024-03-12 16:19:36 +01:00
Laurent Destailleur
cf28211a78 Update CMailFile.class.php 2024-03-12 16:18:44 +01:00
Lamrani Abdel
8bf54dee9e fix method sendfile return type 2024-03-12 15:13:54 +01:00
Laurent Destailleur
a6926c29c0 Merge pull request #28778 from fappels/develop_fix_delivery_note
Fix shipping is not a delivery_note (is sub module of shipping)
2024-03-12 14:53:51 +01:00
Laurent Destailleur
74b8162d22 Merge pull request #28700 from mdeweerd/urlencode/fixuptype
Fix: Ensure the argument type for urlencode is string
2024-03-12 14:43:41 +01:00
Laurent Destailleur
9e16016125 Merge pull request #28770 from mdeweerd/typing/fields
Fix: Repeat fields typing in CommonClass children
2024-03-12 14:30:36 +01:00
Francis Appels
6f1b184f17 Merge remote-tracking branch 'Dolibarr/develop' into develop_fix_delivery_note 2024-03-12 14:13:41 +01:00
Laurent Destailleur
949c885477 Merge branch 'develop' into fix/phpdoc1 2024-03-12 14:11:30 +01:00
Laurent Destailleur
0b936bebe7 Merge pull request #28773 from frederic34/clean_mod_code
clean code and phpdoc
2024-03-12 14:09:23 +01:00
MDW
88d59896ec Qual: 'enabled' in fields can be string ('isModEnabled(...)')
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')

Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
Francis Appels
ba1ca6dc7d module delivery_note not exist (no own module descriptor) is global MAIN_SUBMODULE_DELIVERY 2024-03-12 11:46:12 +01:00
Francis Appels
7ff68a5819 Fix shipping is not a delivery_note (sub module of shipping) 2024-03-12 11:07:18 +01:00
Laurent Destailleur
7869c1a309 AI support both plain text and HTML generation 2024-03-12 10:01:39 +01:00
Frédéric FRANCE
de4c564c7e clean 2024-03-12 09:56:36 +01:00
Frédéric FRANCE
d7517b5f20 Merge remote-tracking branch 'upstream/develop' into clean_mod_code 2024-03-12 09:25:53 +01:00
Laurent Destailleur
56950673b8 Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 02:41:47 +01:00
Laurent Destailleur
4f64c683ee Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 01:55:26 +01:00
MDW
b79328f4e6 Qual: Fix PHPdoc to match parent 2024-03-11 23:46:46 +01:00
MDW
44376cd066 More specific type for childtablesoncascade 2024-03-11 22:16:27 +01:00
MDW
cb35dabd8f Qual: Document sendMail according to code 2024-03-11 21:39:04 +01:00
Frédéric France
aaf173a0d2 clean code and phpdoc 2024-03-11 21:01:20 +01:00
MDW
dcf25336ba Fix: Repeat fields typing in CommonClass children
# Fix: Repeat fields typing in CommonClass children

phpstan needs typing to be 'co-variant' and therefore typing must be repeated as
the method is not to initialise the property in the constructor, but to override
the proparty by a 'local' definition in the child class
2024-03-11 17:39:17 +01:00
MDW
1035e92861 Fix: Repeat fields typing in CommonClass children
# Fix: Repeat fields typing in CommonClass children

phpstan needs typing to be 'co-variant' and therefore typing must be repeated as
the method is not to initialise the property in the constructor, but to override
the proparty by a 'local' definition in the child class
2024-03-11 17:39:15 +01:00
MDW
3730dbc31b Fix: Repeat fields typing in CommonClass children
# Fix: Repeat fields typing in CommonClass children

phpstan needs typing to be 'co-variant' and therefore typing must be repeated as
the method is not to initialise the property in the constructor, but to override
the proparty by a 'local' definition in the child class
2024-03-11 17:39:13 +01:00