Commit Graph

8878 Commits

Author SHA1 Message Date
Laurent Destailleur
ebba438fbe Merge pull request #27528 from altairisfr/rdb
[DATA_MODEL] rename commande_fournisseur_dispatch into receptiondet_batch
2024-03-17 21:31:27 +01:00
MDW
6843232393 Qual: Remove useless trim (fix PhanTypeMismatchArgumentInternal) 2024-03-17 14:48:32 +01:00
Laurent Destailleur
310b74960e Fight against ucfirst to get a className. 2024-03-16 22:26:24 +01:00
Laurent Destailleur
d6674ee44b Fix default value 2024-03-16 22:04:39 +01:00
Laurent Destailleur
90172fba83 Code simpler 2024-03-16 22:00:55 +01:00
Laurent Destailleur
eececbe72b More secured parameter for $tmpobjectkey 2024-03-16 17:34:58 +01:00
Laurent Destailleur
75fae0f27d Merge branch 'develop' into fix/PhanTypeMismatchReturn 2024-03-16 16:08:08 +01:00
MDW
9eed23c6d0 Fix return type by cast or typing update
# Fix return type by cast or typing update

Fix most PhanTypeMismatchReturn notifications.

The remaining ones are likely real bugs or need more Dolibarr
knowledge to fix them efficiently
2024-03-16 13:52:12 +01:00
Frédéric France
912c0f754b fix knowledgerecord 2024-03-16 13:36:55 +01:00
Frédéric France
eee807e7d3 fix knowledgerecord 2024-03-16 13:23:30 +01:00
Frédéric France
f61c97bd9a fix knowledgerecord 2024-03-16 13:20:36 +01:00
Frédéric France
582424c607 fix knowledgerecord 2024-03-16 13:09:25 +01:00
Laurent Destailleur
62827c14e6 Fix "Class KnowledgeManagement constructor invoked with 1 parameter, 0
required"
2024-03-16 12:28:15 +01:00
Laurent Destailleur
e994d6650f Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
Laurent Destailleur
2b9d5b7232 Clean code 2024-03-16 11:16:32 +01:00
Laurent Destailleur
0e07611344 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
Fix for #28785 and #28889
2024-03-16 11:09:24 +01:00
Laurent Destailleur
57d826e261 Merge pull request #28889 from mdeweerd/fix/PhanTypeMismatchArgumentInternalReal
Fix & enable PhanTypeMismatchArgumentInternalReal
2024-03-16 11:05:20 +01:00
Laurent Destailleur
ea2eab434c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-16 11:04:54 +01:00
MDW
17db0726a6 Fix tmpobjectkey test 2024-03-15 23:58:18 +01:00
MDW
a0a9454828 Fix tmpobjectkey test 2024-03-15 23:58:17 +01:00
MDW
d174abe449 Fix class filter (needs array_key, not array_value) 2024-03-15 23:41:26 +01:00
Laurent Destailleur
79aa9fb1f1 Code simpler 2024-03-15 20:29:21 +01:00
Laurent Destailleur
28269b1a0a Clean code for #28785 2024-03-15 20:26:22 +01:00
Laurent Destailleur
e238cc204e Merge pull request #28750 from mdeweerd/fix/PhanPluginSuspiciousParamPosition
Fix: Resolve several PhanPluginSuspiciousParamPosition cases
2024-03-15 08:45:25 +01:00
Laurent Destailleur
f1a8d712fb Merge branch 'develop' into fix-warnings-and-trad-not-showing 2024-03-15 00:23:54 +01:00
MDW
a408288ba1 Fix & enable PhanPluginUnknownClosureParamType
# Fix & enable PhanPluginUnknownClosureParamType

Typing of anonymous functions to fix this notice.
Optimised some minor things.
2024-03-14 22:42:26 +01:00
Frédéric France
c21eedfbdd fix phpstan is incompatible with 2024-03-14 20:56:13 +01:00
MDW
0efd899509 Fix PhanPluginSuspiciousParamPosition 2024-03-14 19:39:30 +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
b9ed346711 FIX edit bank suggested for credit transfer payment in invoice setup
when bank is closed.
2024-03-13 15:54:15 +01:00
Hystepik
c314bdc82d fix trad not showing 2024-03-13 15:34:00 +01:00
MDW
0afe2fa145 Fix PhanPluginDuplicateExpressionAssignmentOperation (Simplification) 2024-03-12 22:25:31 +01:00
MDW
4e1d81984d 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:39:58 +01:00
MDW
bcd692ef6a 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:39:57 +01:00
MDW
05408a1893 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:39:56 +01:00
MDW
a015fa1c76 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:39:56 +01:00
MDW
b5f0b6ae17 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:39:55 +01:00
MDW
ee18ef221c 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:39:54 +01:00
MDW
97ec41cf4d 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:39:53 +01:00
MDW
dc0ac0f601 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:39:52 +01:00
MDW
02fe181cb9 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:39:51 +01:00
MDW
06071c6a91 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:39:50 +01:00
MDW
f8e8a0cad4 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:39:49 +01:00
MDW
8afd985b6d 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:39:48 +01:00
MDW
5d3f6187bd 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:39:47 +01:00
MDW
a333aaf50a 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:39:46 +01:00
MDW
3291ec5afb 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:39:46 +01:00
MDW
07d3e4cfe1 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:39:45 +01:00
MDW
732056902e 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:39:44 +01:00
MDW
88632afe5e 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:39:43 +01:00