Commit Graph

132354 Commits

Author SHA1 Message Date
MDW
686facd74d Fix PhanPluginWhitespaceTrailing + format code + minor spelling 2024-03-17 21:35:08 +01:00
MDW
aa6c20bf0d Qual: Enable PhanPluginWhitespaceTrailing 2024-03-17 21:35:07 +01:00
Laurent Destailleur
63a6b77a74 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 21:31:40 +01:00
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
Laurent Destailleur
ad99b89856 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 21:25:46 +01:00
Laurent Destailleur
90ecb139b3 Merge pull request #28919 from mdeweerd/fix/trim
Fix several useless trims or bad arguments to trim (PhanTypeMismatchArgumentInternal) & related bugs
2024-03-17 21:14:13 +01:00
Laurent Destailleur
bb0e18deae Merge pull request #28922 from mdeweerd/fix/printf
Fix & enable Phan printf checks
2024-03-17 21:08:26 +01:00
Laurent Destailleur
5b5d019362 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 21:07:38 +01:00
Laurent Destailleur
9627894d8d More default values for colors 2024-03-17 21:07:21 +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
MDW
aa5aa2bf26 Add one more index to the theme_datacolor 2024-03-17 19:49:10 +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
MDW
a848a06b76 Force typing for /global did not help 2024-03-17 18:56:51 +01:00
MDW
6b6da854c6 Fix spelling in Changelog 2024-03-17 18:56:49 +01:00
MDW
66e88e123c Fix PhanPluginPrintfIncompatibleArgumentType by typing/casting 2024-03-17 18:56:48 +01:00
MDW
25dd2433a1 Fix PhanPluginPrintfIncompatibleArgumentType by typing/casting 2024-03-17 18:56:47 +01:00
MDW
207314ea59 Fix PhanPluginPrintfIncompatibleArgumentType by typing/casting 2024-03-17 18:56:46 +01:00
MDW
d73886281c Qual: Set typing for global 2024-03-17 18:56:44 +01:00
MDW
81d5f30466 Qual: Enable PhanPluginPrintfIncompatibleArgumentType 2024-03-17 18:56:43 +01:00
MDW
2ebfc1d126 Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:56:42 +01:00
MDW
6c24b9f4bb Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:56:41 +01:00
MDW
50fe314932 Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:56:40 +01:00
MDW
988cd8a61e Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:56:39 +01:00
MDW
da4b3b2e07 Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:56:38 +01:00
MDW
c5f8cccb88 Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:56:37 +01:00
MDW
7910780fdf Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:21:40 +01:00
MDW
2502c394f2 Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:21:38 +01:00
MDW
9a8aa2c9af Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:21:37 +01:00
MDW
10478a641b Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:21:36 +01:00