Commit Graph

3839 Commits

Author SHA1 Message Date
MDW
a30bf48e16 Improve phpdoc typing 2024-03-27 10:18:40 +01:00
MDW
d765e847a7 Allow empty array for dol_print_date() return 2024-03-27 10:18:38 +01:00
MDW
cfe66e2f60 Improve typing, init var, suppress notification 2024-03-27 10:18:21 +01:00
MDW
7c660d3392 PHPdoc improvement: dol_print_error_email, price 2024-03-27 10:18:20 +01:00
MDW
974ecf82fe Fix get_class on potential null 2024-03-27 10:18:18 +01:00
MDW
c76baf1e10 Fix typing, inits, ignore some phan's, fix caching reuse 2024-03-27 10:18:16 +01:00
MDW
2cbd57654a Improve PHPdoc for getEntity/setEntity 2024-03-27 10:17:26 +01:00
Regis Houssin
08aed338c1 FIX phan phan la tulip 2024-03-26 22:35:21 +01:00
Laurent Destailleur
caf6367a4e NEW Add the process and user ID into log 2024-03-26 14:14:11 +01:00
Laurent Destailleur
4efa503400 NEW Accept the __NOW__ and __USER_ID__key into filters 2024-03-25 23:53:28 +01:00
Laurent Destailleur
92312ce4c2 Allow UFS syntax into load_previous_next_ref() 2024-03-25 20:11:24 +01:00
MDW
969b078351 Add PHPdoc typing 2024-03-24 15:40:25 +01:00
MDW
949ccf312a Force type to fix PhanNonClassMethodCall 2024-03-24 15:40:24 +01:00
Laurent Destailleur
ed7a87eea1 Clean code: Use the conf->cache to store cache data 2024-03-24 14:42:57 +01:00
Laurent Destailleur
e423ca625b Doc 2024-03-24 14:12:55 +01:00
Laurent Destailleur
f5fc0beba0 Doc 2024-03-24 14:11:39 +01:00
Laurent Destailleur
6c83239f16 Merge pull request #29034 from mdeweerd/PhanTypeInvalidRightOperandOfNumericOp
Fix & enable PhanTypeInvalidRightOperandOfNumericOp
2024-03-24 02:07:59 +01:00
Laurent Destailleur
6d8f946979 Debug v20 2024-03-24 02:03:34 +01:00
Laurent Destailleur
d9488770ae GETPOST(..., 'alpha') does not accept \ char anymore. Replaced with / 2024-03-24 01:45:31 +01:00
Laurent Destailleur
6a0678e717 Merge branch 'develop' into PhanTypeInvalidRightOperandOfNumericOp 2024-03-23 17:36:29 +01:00
Laurent Destailleur
d297dfe60e Fix warning 2024-03-23 17:32:09 +01:00
MDW
b1675d5139 Type return value for getLocalTaxesFromRate 2024-03-22 09:51:43 +01:00
Laurent Destailleur
7b0177a84d Move to getDolGlobalString 2024-03-22 00:37:56 +01:00
MDW
826a349177 Merge branch 'develop' into fix/PhanTypeMismatchInternal3 2024-03-20 11:45:15 +01:00
Laurent Destailleur
702309de09 Doc 2024-03-20 10:52:07 +01:00
MDW
63d5cef0f9 Fix PHPdoc typing, casting and minor rewrites for PhanTypeMismatchArgumentInternal 2024-03-20 04:08:04 +01:00
MDW
a094ad38fc Fix spelling (using beta codespell)
# Fix spelling (using beta codespell

New spelling fixes - ignoring thirdparty which should be either third-party
or third party.
2024-03-20 00:35:01 +01:00
MDW
397cd58f26 Fix arg types to substr(),mb_strcut() and number_format() by casting & typing 2024-03-19 02:59:13 +01:00
MDW
9647c46371 Add empty lines to avoid comment alignments 2024-03-19 02:44:05 +01:00
MDW
5037995454 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:24 +01:00
Laurent Destailleur
13f7012d40 NEW Add maintenance tool to switch utf8 -> utf8mb4 2024-03-18 18:17:53 +01:00
Laurent Destailleur
57181e6407 Typo 2024-03-18 15:28:19 +01:00
Laurent Destailleur
6640354e79 Move to use the english key name ofmodule 2024-03-18 14:32:59 +01:00
Laurent Destailleur
d9ba301611 Merge pull request #28890 from zephyriony/patch-1
Proposed function for records that can't be found
2024-03-18 14:25:31 +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
MDW
66e88e123c Fix PhanPluginPrintfIncompatibleArgumentType by typing/casting 2024-03-17 18:56:48 +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
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
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