Commit Graph

14296 Commits

Author SHA1 Message Date
MDW
0032fe4746 Fix wrong reference to this->rowid, must be this->id 2024-03-19 02:59:06 +01:00
MDW
c8fa6b4827 Fix casting to fix strtoupper and more 2024-03-19 02:59:05 +01:00
MDW
7cc1894893 Fix type of param to fix strtoupper typing 2024-03-19 02:59:04 +01:00
MDW
3c5599bb47 Correct annotation to ignore PhanTypeMismatchArgumentInternal 2024-03-19 02:58:57 +01:00
MDW
2b7f9b2a86 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:22 +01:00
MDW
0cd2b3f069 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:20 +01:00
MDW
f43fd7c934 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:19 +01:00
MDW
f252a283d2 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:18 +01:00
Laurent Destailleur
6b1f490ee1 Merge branch 'develop' into phpstanphpstan 2024-03-19 02:05:42 +01:00
MDW
9730149fab Fix typing: childtables can also be list of strings 2024-03-19 00:32:07 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
Jon Bendtsen
cc0afd1558 Merge branch 'develop' into new_thirdparty_notification_api 2024-03-19 00:03:34 +01:00
Frédéric FRANCE
65fcc53519 Merge branch 'develop' into phpstanphpstan 2024-03-18 23:47:59 +01:00
Laurent Destailleur
557436a822 Merge pull request #28946 from MaximilienR-easya/develop_Add_substitution_intro_signature
New substitution for mail intro and signature on ticket mail
2024-03-18 23:20:33 +01:00
Frédéric France
0cb5a082b5 Merge remote-tracking branch 'upstream/develop' into phpstanphpstan 2024-03-18 22:21:16 +01:00
Laurent Destailleur
01e6bd012e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-18 21:37:37 +01:00
Laurent Destailleur
a0b7cb90d8 FIX trackid and temp dir on payment confirmation of event registration 2024-03-18 20:17:19 +01:00
Laurent Destailleur
62cf3ab098 Enhance error message 2024-03-18 19:27:52 +01:00
Frédéric France
eb8014c001 Merge remote-tracking branch 'upstream/develop' into phpstanphpstan 2024-03-18 17:50:42 +01:00
mrozniecki
fcff03c66d Add substitution for mail intro and signature on ticket mail 2024-03-18 16:10:39 +01:00
MDW
17b4ebe219 Ignore PhanTypeMismatchArgumentInternal - they concern resource instead of LDAP\Connection 2024-03-18 04:03:49 +01:00
MDW
c4ab5a0437 Fix typing for attributes: list to int|string, add pos (fixes PhanTypeMismatchArgumentInternal) 2024-03-18 04:03:45 +01:00
Frédéric France
295f5d5b1f fix sql 2024-03-17 22:39:19 +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
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
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
c5f8cccb88 Fix/ignore PhanPluginPrintfVariableFormatString 2024-03-17 18:56:37 +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
87388d7dab Debug v20 2024-03-16 21:33:55 +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
MDW
13ab939691 Fix deprecated function calls 2024-03-16 13:27:51 +01:00
Laurent Destailleur
52dfeaaf8d Merge pull request #28894 from rycks/develop_natural_sort_list
natural sort of result
2024-03-16 12:30:13 +01:00
Laurent Destailleur
d686ce02d9 Merge pull request #28884 from lamrani002/addDelay
NEW animation for display spinner when waiting response
2024-03-16 12:12:33 +01:00
Laurent Destailleur
e9c4be9856 Merge pull request #28883 from lamrani002/getMsgInEditor
FIX problem for display content in editor
2024-03-16 11:49:00 +01:00
Laurent Destailleur
a247b474d7 Merge pull request #28885 from mdeweerd/fix/phan/low_occurrence
Fix some phan notifications with low occurrence
2024-03-16 11:48:10 +01:00
Eric Seigne
6a50978206 natural sort of result 2024-03-16 11:17:00 +01:00
Jon Bendtsen
2f7d6afc6e escaping type and reorder the field order to reduce line length 2024-03-16 10:57:53 +01:00
Jon Bendtsen
158622dfb9 looking in git blame it seems people insert this for far less changes 2024-03-16 10:08:19 +01:00
Jon Bendtsen
bc68755c40 creating notification in database 2024-03-16 09:45:55 +01:00
Lamrani Abdel
5422cbdfc2 remove variables withaiprompt 2024-03-16 01:07:17 +01:00