Commit Graph

34874 Commits

Author SHA1 Message Date
Laurent Destailleur
efd77f4197 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-17 21:55:15 +01:00
Laurent Destailleur
27db740058 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-17 21:53:32 +01:00
Laurent Destailleur
ac1ae64ef8 Merge branch '18.0' into 18.0-issue27029 2024-03-17 21:49:12 +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
bb0e18deae Merge pull request #28922 from mdeweerd/fix/printf
Fix & enable Phan printf checks
2024-03-17 21:08:26 +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
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
Laurent Destailleur
0c7fc1ef09 Fix NOOP 2024-03-17 20:08:53 +01:00
Laurent Destailleur
93f2b77c02 Can use a custom sql 2024-03-17 19:23:25 +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
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
Laurent Destailleur
47de296d7e Fix to allow include several times the customreport 2024-03-17 13:20: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
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
1b9db96e4f Fix picto 2024-03-17 00:35:06 +01:00
Laurent Destailleur
a132f53311 Fix removed var_dump 2024-03-16 23:28:22 +01:00
Laurent Destailleur
d3262ace71 Fix phpunit error due to regression in removing the $conf 2024-03-16 23:22:12 +01:00
Laurent Destailleur
de58435ef1 FIX: if we stop for security purpose, we must exit a non zero value. 2024-03-16 23:08:15 +01:00
Laurent Destailleur
e8596c61c3 Fix phan 2024-03-16 22:18:58 +01:00
Laurent Destailleur
93882871d7 Merge pull request #28901 from mdeweerd/spelling/dolibarr_keyword
Qual: Add dolibarrr to dict
2024-03-16 21:35:47 +01:00
Laurent Destailleur
87388d7dab Debug v20 2024-03-16 21:33:55 +01:00
MDW
5067a8bee9 Fix Dolibarr spellings 2024-03-16 18:11:10 +01:00
Alfredo Altamirano
4ee4d1678f fix #28892 change default table ref on modulebuilder new dictionaries 2024-03-16 16:59:31 +00:00
Laurent Destailleur
b3108d1790 Merge branch 'develop' into fix/PhanTypeMismatchReturn 2024-03-16 16:27:32 +01:00
Laurent Destailleur
d0ea54dce8 Fix phan warning 2024-03-16 16:27:11 +01:00
Laurent Destailleur
aee90023d3 Merge branch 'develop' into fix_element_type_part_06 2024-03-16 16:11:56 +01:00
Laurent Destailleur
75fae0f27d Merge branch 'develop' into fix/PhanTypeMismatchReturn 2024-03-16 16:08:08 +01:00
Laurent Destailleur
a9f3cdf5d0 Merge pull request #28886 from mdeweerd/fix/deprecatedfunccall
Fix Deprecated Function Calls
2024-03-16 15:33:34 +01:00
MDW
4a343466aa Suppress PhanTypeMismatchReturnNullable notification
# Suppress PhanTypeMismatchReturnNullable notification

There is no "straightforward" way to avoid this notification, ignoring
it.
2024-03-16 13:53:04 +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
Laurent Destailleur
3d02ca0fdc Debug v20 2024-03-16 13:41:24 +01:00