Commit Graph

3985 Commits

Author SHA1 Message Date
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
Laurent Destailleur
0476ca9a47 Doc 2024-03-19 17:00:59 +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
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
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
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