Commit Graph

13988 Commits

Author SHA1 Message Date
Laurent Destailleur
e15f243e95 Clean code - Remove a deprecated tag that should not exists. 2024-03-16 11:51:32 +01:00
Laurent Destailleur
e994d6650f Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
Laurent Destailleur
25dd05c35e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-16 10:45:55 +01:00
Frédéric France
41fccbaac5 fix phpstan warnings 2024-03-16 08:49:50 +01:00
Frédéric France
a48c3215a1 fix phpstan warnings 2024-03-16 08:43:08 +01:00
Laurent Destailleur
79aa9fb1f1 Code simpler 2024-03-15 20:29:21 +01:00
Laurent Destailleur
372c8445fd Merge pull request #28809 from mdeweerd/PhanPluginPrintfIncompatibleArgumentTypeWeak
Fix & enable PhanPluginPrintfIncompatibleArgumentTypeWeak occurrences
2024-03-15 16:32:40 +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
e3c4c1aff0 Fix warning 2024-03-15 15:16:22 +01:00
Laurent Destailleur
29d6c2b76e Fix for #28821 ->status is int ->labelStatus is array of label. 2024-03-15 15:07:05 +01:00
Laurent Destailleur
3e0920733b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-15 13:23:37 +01:00
Laurent Destailleur
c9e0bc86dc Fix look and feel 2024-03-15 13:02:58 +01:00
MDW
3ec6116037 Qual: Fix PhanTypeMismatchReturnProbablyReal with typing update 2024-03-15 11:45:18 +01:00
Laurent Destailleur
11c77c410b Merge pull request #28864 from mdeweerd/fix/PhanUndeclaredTypeReturnType
Fix & enable PhanUndeclaredTypeReturnType
2024-03-15 11:01:11 +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
470e68829d Merge branch 'develop' into fix/PhanTypeInvalidUnaryOperandNumeric 2024-03-15 10:03:50 +01:00
Laurent Destailleur
80e2e59373 Merge pull request #28862 from mdeweerd/fix/PhanTypeMismatchPropertyDefault
Fix & enable PhanTypeMismatchPropertyDefault
2024-03-15 09:33:40 +01:00
Frédéric FRANCE
62c0df13ca Merge branch 'develop' into fixwarningsf 2024-03-15 09:03:21 +01:00
Laurent Destailleur
e238cc204e Merge pull request #28750 from mdeweerd/fix/PhanPluginSuspiciousParamPosition
Fix: Resolve several PhanPluginSuspiciousParamPosition cases
2024-03-15 08:45:25 +01:00
Frédéric France
b1ce17dd4e fix warning 2024-03-15 08:09:50 +01:00
Frédéric France
cca4bef00b fix warning 2024-03-15 08:06:27 +01:00
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00
MDW
cdc3eee530 Fix PhanTypeMismatchPropertyDefault 2024-03-15 03:44:48 +01:00
MDW
e7fde26b0f Fix PhanTypeMismatchPropertyDefault 2024-03-15 03:44:47 +01:00
MDW
b7b05d4d49 Fix PhanTypeMismatchPropertyDefault 2024-03-15 03:44:46 +01:00
MDW
c27a93401c Fix PhanTypeMismatchPropertyDefault 2024-03-15 03:44:45 +01:00
Laurent Destailleur
b23e627a05 Merge pull request #28800 from mdeweerd/PhanPluginDuplicateConditionalUnnecessa
Fix & enable PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y"
2024-03-15 00:27:58 +01:00
MDW
0f8b9e73f0 Fix: Enable/fix PhanPluginPrintfIncompatibleArgumentTypeWeak occurences
# Fix: Enable/fix PhanPluginPrintfIncompatibleArgumentTypeWeak occurences

Fix the PhanPluginPrintfIncompatibleArgumentTypeWeak occurences and fix the rule
2024-03-14 23:00:47 +01:00
MDW
3b0d19a160 Fix unneed test 'X ? Y : Y' by assigning '' to note_private 2024-03-14 19:47:10 +01:00
MDW
929da49242 Fix PhanPluginSuspiciousParamPosition by renaming arg (from ext.var) 2024-03-14 19:39:52 +01:00
MDW
5b88c4e466 Fix PhanPluginSuspiciousParamPosition by renaming arg (from ext.var) 2024-03-14 19:39:51 +01:00
MDW
01e4397f3a Fix PhanPluginSuspiciousParamPosition by renaming arg (local assign) 2024-03-14 19:39:50 +01:00
MDW
69be3bbca6 Fix PhanTypeInvalidUnaryOperandNumeric & remove from exceptions
# Fix PhanTypeInvalidUnaryOperandNumeric & remove from exceptions

Fix by casting result of date() or by adding typing hints.

(This notification indicates a unary '-' or similar is performed
on a value that may not be a number).
2024-03-14 19:39:49 +01:00
MDW
a308f7c178 Fix PhanPluginSuspiciousParamPosition by renaming arg (local assign) 2024-03-14 19:39:45 +01:00
MDW
dabd4e9f80 Fix PhanPluginSuspiciousParamPosition by renaming arg (local assign) 2024-03-14 19:39:44 +01:00
MDW
e6c29dacda Fix PhanPluginSuspiciousParamPosition by renaming arg (local assign) 2024-03-14 19:39:43 +01:00
MDW
7ecc9cfc2a Fix PhanPluginSuspiciousParamPosition by renaming arg (local assign) 2024-03-14 19:39:42 +01:00
MDW
3874830fc0 Fix PhanPluginSuspiciousParamPosition by renaming arg (local assign) 2024-03-14 19:39:41 +01:00
MDW
715b5ef38e Fix PhanPluginSuspiciousParamPosition by renaming arg (local assign) 2024-03-14 19:39:40 +01:00
MDW
06cf35634a Fix PhanPluginSuspiciousParamPosition 2024-03-14 19:39:32 +01:00
MDW
2a7eac534e Fix call to rollback (was NOOP property access) 2024-03-14 19:37:45 +01:00
Laurent Destailleur
c867bc2706 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-13 22:36:45 +01:00
Laurent Destailleur
8bfc0779c4 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-13 22:20:08 +01:00
Laurent Destailleur
a0b26ae7cd FIX Amount of localtaxes in foreign currency was wrong on screen and PDF 2024-03-13 22:04:44 +01:00
Laurent Destailleur
09b11719c4 Update report.php 2024-03-13 18:15:36 +01:00
MDW
1daa77650c Fix Initialise array to fix PhanTypeInvalidUnaryOperandIncOrDec 2024-03-13 16:50:28 +01:00
Laurent Destailleur
cad8f24322 Merge pull request #28799 from mdeweerd/fix/PhanPluginDuplicateExpressionAssignmentOperation
Fix & enable PhanPluginDuplicateExpressionAssignment
2024-03-13 14:49:21 +01:00
MDW
c7bd8b57cc Fix PhanPluginRedundantAssignment 2024-03-13 00:40:39 +01:00
MDW
9ee7611a08 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:38 +01:00
MDW
ca8ccd84f0 Fix PhanPluginRedundantAssignment 2024-03-13 00:40:37 +01:00