Commit graph

131624 commits

Author SHA1 Message Date
MDW
1daa77650c
Fix Initialise array to fix PhanTypeInvalidUnaryOperandIncOrDec 2024-03-13 16:50:28 +01:00
MDW
e4331877df
Fix: Remove stray $i++ 2024-03-13 16:46:21 +01:00
MDW
04282f9c5f
Fix PhanTypeInvalidUnaryOperandIncOrDec by typing $error
# Fix PhanTypeInvalidUnaryOperandIncOrDec by typing $error

For some strange reason phan determined that $error was not an int, so forced the
typing to fix the PhanTypeInvalidUnaryOperandIncOrDec notifications in this
file
2024-03-13 16:45:14 +01:00
Laurent Destailleur
cad8f24322
Merge pull request #28799 from mdeweerd/fix/PhanPluginDuplicateExpressionAssignmentOperation
Fix & enable PhanPluginDuplicateExpressionAssignment
2024-03-13 14:49:21 +01:00
Laurent Destailleur
231072335d
Merge pull request #28806 from frederic34/fix_exensereport_setdraft
Fix exensereport setdraft
2024-03-13 14:46:59 +01:00
Laurent Destailleur
1d00dbf7c8
Merge pull request #28808 from rycks/develop_add_password_type_to_formbuilder
NEW ModuleBuilder : add type genericpassword entry types
2024-03-13 14:46:00 +01:00
Laurent Destailleur
2b5ea3fa74
Merge pull request #28810 from W1W1-M/fix-cactioncomm-php-warnings
Fix PHP warnings cactioncomm class
2024-03-13 14:31:53 +01:00
Laurent Destailleur
4afadf6dc4
Merge pull request #28804 from mdeweerd/fix/PhanPluginUnknownFunctionParamType
Fix & enable PhanPluginUnknownFunctionParamType
2024-03-13 14:31:18 +01:00
William Mead
b9007acbf1 Fixed PHP warnings 2024-03-13 14:03:27 +01:00
Eric Seigne
3d449b8fce phpdoc missing argument type, thanks to phpstan ! 2024-03-13 11:54:05 +01:00
Eric Seigne
3a0bf96e92 add password and genericpassword entry types 2024-03-13 11:49:03 +01:00
Frédéric FRANCE
5bbab794fa fix expensereport setdraft 2024-03-13 11:20:37 +01:00
Frédéric FRANCE
c8046e4cdd fix expensereport setdraft 2024-03-13 11:18:50 +01:00
Laurent Destailleur
e0d7948d91 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-13 11:06:48 +01:00
Laurent Destailleur
c3f28b8592
Merge pull request #28802 from mdeweerd/PhanPluginRedundantAssignment
Fix PhanPluginRedundantAssignment
2024-03-13 11:04:02 +01:00
Laurent Destailleur
f6f74cfc79
Merge pull request #28801 from frederic34/fix_fix_holiday
fix warnings
2024-03-13 11:02:24 +01:00
Laurent Destailleur
acf84f44d5
Merge pull request #28805 from mdeweerd/fix/PhanPluginPrintfNotPercent
# Fix & enable PhanPluginPrintfNotPercent
2024-03-13 11:02:07 +01:00
Laurent Destailleur
7400a1b879
Merge pull request #28803 from mdeweerd/fix/get_string_between
FIX get_string_between
2024-03-13 10:54:25 +01:00
Laurent Destailleur
930af6b838 Doc 2024-03-13 10:54:20 +01:00
MDW
73eeb69cc8
Qual: Enable PhanPluginUnknownFunctionParamType (all fixed) 2024-03-13 10:51:46 +01:00
MDW
b02014bf47
Fix PhanPluginUnknownFunctionParamType
# Fix PhanPluginUnknownFunctionParamType

PHPdoc for $object was incorrect.
Reviewed some of the other typings as well
2024-03-13 10:51:45 +01:00
MDW
1debf4f538
# Fix & enable PhanPluginPrintfNotPercent
Fix PhanPluginPrintfNotPercent by setting format length to non 0 value.

Example of Notification message:

    'Format string "%0.10F" contains something that is not a percent sign, it will be treated as a format string '%0.10F' with padding of "0" and alignment of '' but no width. Use %% for a literal percent sign, or '%1$.10F' to be less ambiguous' .
2024-03-13 10:42:13 +01:00
MDW
09a62365eb
Fix PhanPluginUnknownFunctionParamType
# Fix PhanPluginUnknownFunctionParamType

PHPdoc for $object was incorrect.
Also updated the return type and the parameter typing for $head
in complete_head_from_modules
2024-03-13 10:08:12 +01:00
MDW
d8a785fa2b
FIX get_string_between
# FIX get_string_between

Noticed that the typing of the arguments was incorrect and then found
the implementation suspicious.  The implemented test confirmed that it
was flawed.  Fixed.

Apparently this method is used in get_next_value .
2024-03-13 02:58:59 +01:00
MDW
fcca1b6987
Qual: Enable PhanPluginRedundantAssignment (all fixed) 2024-03-13 01:05:05 +01:00
MDW
2b9a416dfd
Fix PhanPluginRedundantAssignment 2024-03-13 01:05:04 +01:00
MDW
217dc72967
Fix PhanPluginRedundantAssignment 2024-03-13 01:05:03 +01:00
MDW
a8e6781288
Fix PhanPluginRedundantAssignment 2024-03-13 01:05:02 +01:00
MDW
17a0ee0810
Fix PhanPluginRedundantAssignment 2024-03-13 01:05:01 +01:00
MDW
8c08c6d483
Fix PhanPluginRedundantAssignment 2024-03-13 01:05:00 +01:00
MDW
e7d378055f
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:59 +01:00
MDW
9053c0c7c0
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:58 +01:00
MDW
c90d856d6c
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:57 +01:00
MDW
b3efdbbd5f
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:56 +01:00
MDW
9c6394b996
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:56 +01:00
MDW
63b2768229
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:55 +01:00
MDW
a997447ce3
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:54 +01:00
MDW
af5816f344
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:53 +01:00
MDW
cf778e9da8
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:52 +01:00
MDW
a604e446f1
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:51 +01:00
MDW
a35efb0b8b
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:50 +01:00
MDW
259faedafe
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:49 +01:00
MDW
6629c823e8
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:48 +01:00
MDW
ce85da498c
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:47 +01:00
MDW
accbf347d1
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:46 +01:00
MDW
c66c59f146
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:45 +01:00
MDW
a0bbf04d74
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:44 +01:00
MDW
3da0523890
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:43 +01:00
MDW
c247c8bca8
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:42 +01:00
MDW
409f7e0268
Fix PhanPluginRedundantAssignment 2024-03-13 01:04:41 +01:00