Commit graph

131635 commits

Author SHA1 Message Date
Laurent Destailleur
09b11719c4
Update report.php 2024-03-13 18:15:36 +01:00
MDW
0127cc76f5
Qual: Enable PhanTypeInvalidUnaryOperandIncOrDec (all fixed) 2024-03-13 17:38:14 +01:00
MDW
344ae9e5b4
Fix: Remove stray $i++ 2024-03-13 17:38:13 +01:00
MDW
29d650960c
Fix Initialise $numline to fix PhanTypeInvalidUnaryOperandIncOrDec 2024-03-13 17:38:11 +01:00
MDW
3183079e30
Fix Initialise $error to fix PhanTypeInvalidUnaryOperandIncOrDec 2024-03-13 17:38:10 +01:00
MDW
8ed09542f2
Fix Initialise $error to fix PhanTypeInvalidUnaryOperandIncOrDec 2024-03-13 17:38:09 +01:00
MDW
636d552499
Fix: Remove stray $i++ 2024-03-13 17:38:07 +01:00
MDW
dfaa8358fb
Fix: Comment unused $errorforemail (outside loop) 2024-03-13 17:38:06 +01:00
MDW
3ffa85eb49
Fix: Remove stray $i++ 2024-03-13 17:38:05 +01:00
MDW
a0ea2ed654
Fix: Remove stray $i++ 2024-03-13 17:38:03 +01:00
MDW
393dacd59e
Fix Initialise var to fix PhanTypeInvalidUnaryOperandIncOrDec 2024-03-13 17:38:02 +01:00
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