Commit Graph

11042 Commits

Author SHA1 Message Date
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
Zephyriony
d5e6fac6de Merge branch 'develop' into patch-1 2024-03-16 14:37:54 +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
Zephyriony
3b0bd0c427 Update functions.lib.php 2024-03-16 00:49:12 +01:00
Zephyriony
3fba583ffa Update functions.lib.php 2024-03-16 00:46:40 +01:00
Zephyriony
0c7ed79f40 Update functions.lib.php 2024-03-16 00:42:57 +01:00
Zephyriony
82dc53e796 Update functions.lib.php 2024-03-16 00:36:43 +01:00
Zephyriony
cd47aa1aad Update functions.lib.php 2024-03-16 00:34:09 +01:00
Zephyriony
dd7f84abde Update functions.lib.php 2024-03-16 00:30:24 +01:00
Zephyriony
d339f4252c Update functions.lib.php 2024-03-16 00:26:50 +01:00
Zephyriony
4dc118a759 Update functions.lib.php 2024-03-16 00:25:05 +01:00
Zephyriony
fb9f9a7c8b Update functions.lib.php 2024-03-16 00:22:17 +01:00
Zephyriony
13350802e5 Update functions.lib.php 2024-03-16 00:16:15 +01:00
Zephyriony
e1cf39773b Update functions.lib.php 2024-03-16 00:13:51 +01:00
Zephyriony
48bbc532b9 Update functions.lib.php 2024-03-16 00:11:06 +01:00
Zephyriony
c12af524d5 Update functions.lib.php 2024-03-16 00:05:34 +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
Zephyriony
05ee3d482c Update functions.lib.php 2024-03-16 00:00:06 +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
Zephyriony
f8ea5ac077 Proposed function for records that can't be found 2024-03-15 23:33:51 +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