Commit Graph

4041 Commits

Author SHA1 Message Date
MDW
d245dab56b Fix PhanTypeMismatchReturnNullable by setting variable 2024-03-20 21:58:36 +01:00
MDW
1d97c989d0 Fix arg to preg_replace() with cast 2024-03-20 04:09:57 +01:00
MDW
0969343d15 Fix arg to strcmp with cast 2024-03-20 04:09:56 +01:00
MDW
12e3a5cb4a Fix arg type to preg_replace() with cast 2024-03-20 04:09:55 +01:00
MDW
1a791637f5 Fix arg type to preg_replace() with cast 2024-03-20 04:09:54 +01:00
MDW
41db5faa91 Fix arg type to preg_replace() with cast 2024-03-20 04:09:53 +01:00
MDW
6d602aa892 Fix arg type to preg_replace() with cast 2024-03-20 04:09:51 +01:00
MDW
2732d42e15 Fix arg type to preg_replace() with cast 2024-03-20 04:09:50 +01:00
MDW
9cf1308f47 Fix arg type to preg_replace() with cast 2024-03-20 04:09:49 +01:00
MDW
a669df956d Fix arg type to preg_replace() with cast 2024-03-20 04:09:48 +01:00
MDW
c924f38d84 Fix arg type to preg_replace() with cast 2024-03-20 04:09:47 +01:00
MDW
eaec09cc23 Fix arg type to preg_replace() with cast 2024-03-20 04:09:46 +01:00
MDW
f4330a11fe Fix PHPdoc, casts for correct type to strcmp 2024-03-20 04:08:24 +01:00
MDW
10b260a31d Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:44:02 +01:00
MDW
18600215a1 Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:43:51 +01:00
Laurent Destailleur
6b1f490ee1 Merge branch 'develop' into phpstanphpstan 2024-03-19 02:05:42 +01:00
MDW
fd9d48faac Fix phpstan CommonObject->fields - notnull is optional field 2024-03-19 00:32:00 +01:00
Frédéric France
c084f41525 fix sql 2024-03-17 22:49:18 +01:00
MDW
ef6eea3ed2 Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-17 00:03:20 +01:00
Laurent Destailleur
d3262ace71 Fix phpunit error due to regression in removing the $conf 2024-03-16 23:22:12 +01:00
Laurent Destailleur
487a55750a Fix warnings 2024-03-16 22:13:00 +01:00
Laurent Destailleur
3d02ca0fdc Debug v20 2024-03-16 13:41:24 +01:00
Laurent Destailleur
e994d6650f Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
Laurent Destailleur
79aa9fb1f1 Code simpler 2024-03-15 20:29:21 +01:00
Laurent Destailleur
0ee6fd6bad Merge pull request #28877 from mdeweerd/PhanTypeMismatchDefault
Fix & enable PhanTypeMismatchDefault
2024-03-15 15:44:30 +01:00
MDW
38e7d389a9 Fix PhanTypeMismatchDefault by updating default to null 2024-03-15 14:53:05 +01:00
Laurent Destailleur
84cf80ae98 Merge pull request #28853 from lamrani002/FixInProjectClass
FIX variables in project class (PHPStan Warnings)
2024-03-15 14:19:43 +01:00
Lamrani Abdel
65ee1f1776 initialise the variable as an empty string 2024-03-15 12:55:30 +01:00
Laurent Destailleur
1a63080e44 Merge branch 'develop' into fix/PhanTypeMismatchPropertyDefault 2024-03-15 08:41:23 +01:00
Laurent Destailleur
ba4e454827 Merge pull request #28829 from rycks/develop_add_projects_linked_by_a_contact_option
NEW Can show the list of projects having at least one contact that is a contact of the third party
2024-03-15 08:29:39 +01:00
MDW
23785393a3 Add csslist to json keys 2024-03-15 03:55:52 +01:00
MDW
b881df8636 Fix PhanTypeMismatchPropertyDefault 2024-03-15 03:54:09 +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
Laurent Destailleur
0691839c7b Merge branch 'develop' into develop_add_projects_linked_by_a_contact_option 2024-03-14 23:57:30 +01:00
MDW
a408288ba1 Fix & enable PhanPluginUnknownClosureParamType
# Fix & enable PhanPluginUnknownClosureParamType

Typing of anonymous functions to fix this notice.
Optimised some minor things.
2024-03-14 22:42:26 +01:00
Laurent Destailleur
41c2843f71 Fix type 2024-03-14 22:35:00 +01:00
MDW
22a96119c2 Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify) 2024-03-14 19:47:23 +01:00
MDW
c4be0d7ff9 Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify) 2024-03-14 19:47:22 +01:00
MDW
ca6dcff6cd Fix PhanPluginDuplicateConditionalUnnecessary "X ? Y : Y" (Simplify) 2024-03-14 19:47:21 +01:00
Lamrani Abdel
2c1be590d9 FIX variables in project class (PHPStan Warnings) 2024-03-14 18:03:32 +01:00
Eric Seigne
89d6fe8d5d add project list linked by a contact 2024-03-14 10:02:23 +01:00
Laurent Destailleur
d51b0f9ae4 Merge pull request #28792 from mdeweerd/fix/PhanTypeExpectedObjectOrClassName_part1
Fix/phan type expected object or class name part1
2024-03-12 22:14:14 +01:00
MDW
3c67a1288a Fix PhanPluginMixedKeyNoKey by using explicit keys 2024-03-12 21:35:52 +01:00
MDW
5be91bbfa4 Fix PhanPluginMixedKeyNoKey by using explicit keys 2024-03-12 21:35:51 +01:00
MDW
7f4e3da7fa Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname
# Qual: Fix PhanTypeExpectedObjectOrClassName by testing on classname

PhanTypeExpectedObjectOrClassName should be fixed by testing that the classname is not
empty.
2024-03-12 18:40:15 +01:00
Laurent Destailleur
a6926c29c0 Merge pull request #28778 from fappels/develop_fix_delivery_note
Fix shipping is not a delivery_note (is sub module of shipping)
2024-03-12 14:53:51 +01:00
Laurent Destailleur
74b8162d22 Merge pull request #28700 from mdeweerd/urlencode/fixuptype
Fix: Ensure the argument type for urlencode is string
2024-03-12 14:43:41 +01:00
Laurent Destailleur
9e16016125 Merge pull request #28770 from mdeweerd/typing/fields
Fix: Repeat fields typing in CommonClass children
2024-03-12 14:30:36 +01:00
MDW
88d59896ec Qual: 'enabled' in fields can be string ('isModEnabled(...)')
# Qual: 'enabled' in fields can be string ('isModEnabled(...)')

Update PHPdoc to allow that enabled is a string
2024-03-12 13:38:08 +01:00
Francis Appels
7ff68a5819 Fix shipping is not a delivery_note (sub module of shipping) 2024-03-12 11:07:18 +01:00