Commit Graph

132311 Commits

Author SHA1 Message Date
Frédéric France
17ea003a69 fix phpstan 2024-03-17 21:20:36 +01:00
Laurent Destailleur
d045b0c0b7 Merge pull request #28916 from mdeweerd/fix/phan/lowoccurrence2
Qual: Fix & enable some low occurence notifications
2024-03-17 20:52:22 +01:00
Laurent Destailleur
eff2f4da7f Merge branch 'develop' into fix/phan/lowoccurrence2 2024-03-17 20:27:59 +01:00
Laurent Destailleur
b117d24cba Try to fix PhanUndeclaredFunctionInCallable 2024-03-17 20:26:05 +01:00
MDW
6148a0f7a3 fixup! Fix PhanUndeclaredFunctionInCallable by disabling notification in specific case 2024-03-17 20:12:55 +01:00
MDW
012f284b3d Fix PhanParamSuspiciousOrder by suppressing notification 2024-03-17 20:12:53 +01:00
MDW
6c7a7a8678 Fix PhanPluginSuspiciousParamOrder by exchanging argument positions 2024-03-17 20:12:51 +01:00
MDW
081963fa14 Fix PhanPluginSuspiciousParamOrder by exchanging argument positions 2024-03-17 20:12:49 +01:00
MDW
7ab07a1549 Fix PhanPluginSuspiciousParamOrder in updete() by removeing arg 2024-03-17 20:12:47 +01:00
MDW
18cfd0dae6 Fix PhanTypeComparisonFromArray by testing $error field
# Fix PhanTypeComparisonFromArray by testing $error field

getListOfPayments always returns an array, comparing it to 0 is invalid.
To know if there was an error, we should test error, not the size of the result.
Updated getListOfPayments as well to initialize error to ""
2024-03-17 20:12:45 +01:00
MDW
dbe8aacd0a Fix PhanParamSuspiciousOrder by ignoring notification 2024-03-17 20:12:43 +01:00
MDW
d79ca5f126 Fix PhanParamSuspiciousOrder by ignoring notification 2024-03-17 20:12:41 +01:00
MDW
013d1cc54f Fix PhanParamSuspiciousOrder by ignoring notification 2024-03-17 20:12:39 +01:00
MDW
fe6c5e132a Fix PhanPluginUnsafeEval by disabling notification in dol_eval 2024-03-17 20:12:37 +01:00
MDW
66c592717d Fix PhanTypeMismatchBitwiseBinaryOperands by typing argument 2024-03-17 20:12:35 +01:00
MDW
78f2e8752e Fix PhanPluginUnsafeEval by ignoring notification 2024-03-17 20:12:33 +01:00
MDW
7d15cd3267 Fix PhanUndeclaredFunctionInCallable by disabling notification in specific case 2024-03-17 20:12:31 +01:00
MDW
46d66b7825 Qual: Force phan type to fix PhanPluginSuspiciousParamOrder 2024-03-17 20:12:29 +01:00
MDW
7a4f5ec4f8 Qual: Enable some low occurence notifications 2024-03-17 20:12:27 +01:00
Laurent Destailleur
0d3496a603 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 20:09:05 +01:00
Laurent Destailleur
0c7fc1ef09 Fix NOOP 2024-03-17 20:08:53 +01:00
Laurent Destailleur
b3d8da9aba Merge pull request #28917 from frederic34/fix_phanfloat
Fix phanfloat
2024-03-17 20:04:19 +01:00
Laurent Destailleur
93f2b77c02 Can use a custom sql 2024-03-17 19:23:25 +01:00
Frédéric France
049f660ea6 fix phpstan 2024-03-17 19:10:40 +01:00
Frédéric France
96eb8b37d5 Merge remote-tracking branch 'upstream/develop' into fix_phanfloat 2024-03-17 13:23:35 +01:00
Frédéric France
26303dc4d3 fix phan 2024-03-17 13:21:34 +01:00
Laurent Destailleur
47de296d7e Fix to allow include several times the customreport 2024-03-17 13:20:37 +01:00
Frédéric France
5e5995731d fix phan 2024-03-17 13:17:51 +01:00
Frédéric France
912be1e1bd fix phan 2024-03-17 13:15:37 +01:00
Laurent Destailleur
aa7efa274e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 13:10:44 +01:00
Laurent Destailleur
d7ce93d9ea Fix warning 2024-03-17 13:10:17 +01:00
Laurent Destailleur
7aef2022d6 Merge pull request #28026 from ariel-bentu/fix-pdf-lines-header-height
QUAL fix lines' title height calculation
2024-03-17 12:38:59 +01:00
Laurent Destailleur
b55824dc9b Merge pull request #28911 from frederic34/phandephan
fix phan
2024-03-17 12:33:05 +01:00
Laurent Destailleur
ff33a7ca1c Merge pull request #28910 from frederic34/patch-8
fix phpstan
2024-03-17 12:32:30 +01:00
Laurent Destailleur
080d9521d5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 12:31:04 +01:00
Laurent Destailleur
c4b16e996e Clsoe #23147 2024-03-17 12:26:40 +01:00
Frédéric France
7e349a790a fix phan 2024-03-17 09:18:00 +01:00
Frédéric FRANCE
0f92d6d957 fix phpstan 2024-03-17 07:43:18 +01:00
Laurent Destailleur
91c5868020 Merge pull request #28909 from mdeweerd/fix/PhanPluginUnknownClosureReturnType
Fix & enable PhanPluginUnknownClosureReturnType
2024-03-17 03:03:35 +01:00
Laurent Destailleur
aa0c0ccff0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 03:02:25 +01:00
Laurent Destailleur
e959bb4b55 Fix code for tabs 2024-03-17 02:58:16 +01:00
Laurent Destailleur
90245b15b9 Fix warning after comment on #28891 2024-03-17 02:55:35 +01:00
Laurent Destailleur
1197dcbcc8 Merge pull request #28785 from mdeweerd/fix/PhanTypeExpectedObjectOrClassName
Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
2024-03-17 02:43:07 +01:00
Laurent Destailleur
ca76798afd NEW Add a protection in inventory when a product has stock of lot and is
not lot managed.
2024-03-17 02:16:51 +01:00
Laurent Destailleur
48d051aba7 Better tooltip on inventory 2024-03-17 01:06:02 +01:00
Laurent Destailleur
1b9db96e4f Fix picto 2024-03-17 00:35:06 +01:00
Laurent Destailleur
661eaa7e91 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 00:19:24 +01:00
MDW
551eaa115c Fix & enable PhanPluginUnknownClosureReturnType
# Fix & enable PhanPluginUnknownClosureReturnType

Fix last PhanPluginUnknownClosureReturnType & enable the notice as
all are fixed
2024-03-17 00:10:18 +01:00
MDW
ef6eea3ed2 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-17 00:03:20 +01:00
Laurent Destailleur
84791e2b45 Merge pull request #28904 from mdeweerd/fix/file_ref
Fix use  array instead of fileinfo
2024-03-17 00:00:52 +01:00