Commit Graph

10682 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
MDW
fe6c5e132a Fix PhanPluginUnsafeEval by disabling notification in dol_eval 2024-03-17 20:12:37 +01:00
Laurent Destailleur
0c7fc1ef09 Fix NOOP 2024-03-17 20:08:53 +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
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
e8596c61c3 Fix phan 2024-03-16 22:18:58 +01:00
Laurent Destailleur
87388d7dab Debug v20 2024-03-16 21:33:55 +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
aee90023d3 Merge branch 'develop' into fix_element_type_part_06 2024-03-16 16:11:56 +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
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
MDW
c8ecf18b0c Suppress false positive for UnknownModuleName 2024-03-16 00:00:23 +01:00
MDW
c8db19331b Handle ftp_chdir error 2024-03-16 00:00:22 +01:00
MDW
1877dda1a4 Always return a value in dol_eval 2024-03-16 00:00:21 +01:00
MDW
49381e2af1 Fix: $domain for setcookie() must be string 2024-03-15 23:41:20 +01:00
MDW
0492b19c09 Fix: openssl_decrypt needs a string for $iv 2024-03-15 23:41:19 +01:00
MDW
b6f9df4ad3 Passing null to DOMDocument() is deprecated in PHP8.1 at the latest 2024-03-15 23:41:18 +01:00
Laurent Destailleur
0ee6fd6bad Merge pull request #28877 from mdeweerd/PhanTypeMismatchDefault
Fix & enable PhanTypeMismatchDefault
2024-03-15 15:44:30 +01:00
Laurent Destailleur
799ccf1a2f Merge pull request #28708 from atm-john/fix_element_type_part_05
NEW : Factoring and Fix external module elementType limit - Part 05
2024-03-15 15:29:03 +01:00
Laurent Destailleur
e6a6142b8b Merge pull request #28831 from lamrani002/addDeleteForContact
NEW function for removing company contacts
2024-03-15 15:25:24 +01:00
Laurent Destailleur
b658beab99 Merge pull request #28872 from mdeweerd/fix/PhanTypeMismatchReturnProbablyReal
Fix & enable PhanTypeMismatchReturnProbablyReal
2024-03-15 15:24:31 +01:00
Laurent Destailleur
1a722fa436 Merge branch 'develop' into fix/PhanTypeMismatchPropertyProbablyReal 2024-03-15 15:07:35 +01:00
MDW
c5c79a9fc5 Fix PhanTypeMismatchReturnProbablyReal 2024-03-15 14:20:56 +01:00
MDW
9a79e6b6d0 Fix PhanTypeMismatchDefault with typing hints 2024-03-15 13:26:23 +01:00
MDW
e36dccff59 Qual: better typing for getCountry() 2024-03-15 10:12:48 +01:00
MDW
db0134183d Qual: improve hist typing 2024-03-15 10:11:57 +01:00
MDW
3384a0b847 Fix & enable PhanUndeclaredTypeReturnType
# Fix & enable PhanUndeclaredTypeReturnType

One typo, and replace 'number' with int or int|float
2024-03-15 10:07:15 +01:00
Laurent Destailleur
30037a5cba Fix: Test removalof one phan exception 2024-03-15 09:30:21 +01:00
Laurent Destailleur
ba4e454827 Merge pull request #28829 from rycks/develop_add_projects_linked_by_a_contact_option
NEW Can show the list of projects having at least one contact that is a contact of the third party
2024-03-15 08:29:39 +01:00
Laurent Destailleur
1639bc83ca Merge pull request #28817 from frederic34/skiljob
fix warnings
2024-03-15 00:18:44 +01:00
Laurent Destailleur
0691839c7b Merge branch 'develop' into develop_add_projects_linked_by_a_contact_option 2024-03-14 23:57:30 +01:00
Laurent Destailleur
e478fd8cbc Merge pull request #28859 from mdeweerd/fix/PhanPluginUnknownClosureParamType
Fix & enable PhanPluginUnknownClosureParamType
2024-03-14 23:10:37 +01:00
Laurent Destailleur
009ff45f61 Merge pull request #28835 from W1W1-M/qual-project-lib
Fix undefined task object
2024-03-14 22:54:07 +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
Laurent Destailleur
e12faaa663 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-03-14 22:38:31 +01:00
Laurent Destailleur
390f18f557 FIX #yogosha20932 2024-03-14 22:06:43 +01:00
Laurent Destailleur
c22a6219ec Debug v20 2024-03-14 16:40:06 +01:00
Laurent Destailleur
967c444d8d FIX support of multiobject in APIs generated by modulebuilder 2024-03-14 16:39:12 +01:00
William Mead
9dbc249cf0 Fixed undefined task object 2024-03-14 14:59:04 +01:00
Laurent Destailleur
fb85f17ef4 FIX: Better error management in loading a website template 2024-03-14 12:09:35 +01:00
Lamrani Abdel
fc753daa26 NEW functionality for delete contact of company list 2024-03-14 11:58:23 +01:00
Frédéric FRANCE
23b0faeb44 Merge branch 'develop' into skiljob 2024-03-14 11:04:11 +01:00
Eric Seigne
89d6fe8d5d add project list linked by a contact 2024-03-14 10:02:23 +01:00