Commit Graph

148 Commits

Author SHA1 Message Date
MDW
53cfbc35be Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices

# Qual: Fix several phan & stan notices

Several fixes in files while fixing UnknownClass notices

* Qual: Update prepare_head PHPDoc return types

# Qual: Update prepare_head PHPDoc return types

Provide detailed array return types for prepare_head functions.

* Fix new phan notice

* Better loadLangs typing and fix call to loadLangs

* Fix new issues (stats)

* Other fixes of new issues

* Qual: update phan baseline
2024-10-14 01:59:44 +02:00
MDW
8609df383a Qual: fix phan notices (#31368)
* Qual: fix phan notices

# Qual: fix phan notices

Fix phan/phpstan notices, mostly in html,formmail

* Ignore phpstan exception
2024-10-14 00:36:42 +02:00
MDW
34e3717dda Qual: Fix phan/phpstan notices (#31289)
* Qual: Fix phan/phpstan notices

# Qual: Fix phan/phpstan notices

Fix several phan/phpstan notices

* Fix spelling in Changelog
2024-10-06 13:03:43 +02:00
MDW
f70c945931 Qual: Fix phan/stan notices (#31271)
# Qual: Fix phan/stan notices in relation with UnknownObjectMethodCall

Fix notices in classes with UnknownObjectMethodCall notices or classes
related with these.
2024-10-05 18:55:36 +02:00
Frédéric FRANCE
7fe28032d1 phpstan (#31276)
* phpstan

* phpstan
2024-10-05 18:49:54 +02:00
Frédéric FRANCE
10496d9f6a fix phpstan (#31272)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-10-04 17:27:19 +02:00
Frédéric FRANCE
8305c35b6b fix phpdoc (#31262)
* fix phpdoc

* fix phpdoc
2024-10-04 09:40:05 +02:00
MDW
6e01a60f59 Qual: Fix phan/phpstan notices (#31259)
# Qual: Fix phan/phpstan notices

Fix notices by adjusting phpdoc
2024-10-04 08:25:17 +02:00
MDW
1834c37c16 Qual: Fix phan notices (#31212)
* Qual: Fix phan notices

# Qual: Fix phan notices

Fix several phan notices related to classes with UnknownObject
classes.

* Qual: Fix phan notices

* Qual: Fix phan notices

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-10-03 19:40:34 +02:00
Frédéric FRANCE
f3d3573bfb fix phpstan (#31194)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-30 10:07:04 +02:00
Frédéric FRANCE
4690f4aadb fix phpstan (#31192)
* fix phpstan

* fix phpstan
2024-09-29 22:33:33 +02:00
Frédéric FRANCE
d30d8b5201 fix phpstan (#31191)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 22:32:34 +02:00
Frédéric FRANCE
a760fc0092 fix phpstan (#31189)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 21:51:51 +02:00
Frédéric FRANCE
79c447caac fix phpstan (#31188)
* fix phpstan

* fix phpstan
2024-09-29 21:51:01 +02:00
Frédéric FRANCE
d9902225ca fix phpstan (#31187)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 21:50:37 +02:00
Frédéric FRANCE
138ffa3158 fix phpstan (#31181)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 21:49:52 +02:00
Frédéric FRANCE
119456ce0f fix phpstan (#31182)
* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 15:29:56 +02:00
Frédéric FRANCE
3c78df4132 fix phpstan (#31185)
* fix phpstan

* fix phpstan
2024-09-29 13:08:11 +02:00
Frédéric FRANCE
741cca5eb4 fix phpstan (#31184)
* fix phpstan

* fix phpstan
2024-09-29 13:07:40 +02:00
Frédéric FRANCE
cab697f557 fix phpstan (#31183)
* fix phpstan

* fix phpstan
2024-09-29 13:07:21 +02:00
Frédéric FRANCE
d154af4e41 fix phpstan (#31180)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-29 13:03:58 +02:00
Frédéric FRANCE
0e1292e253 fix phpstan (#31177)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-29 02:49:34 +02:00
Frédéric FRANCE
4168658bd3 fix phpstan (#31153)
* fix phpstan

* fix phpstan
2024-09-28 12:09:59 +02:00
Frédéric FRANCE
e8aa8303aa fix phpstan (#31162)
* fix phpstan

* fix phpstan
2024-09-28 11:16:26 +02:00
Frédéric FRANCE
752eaea64e fix phpstan (#31161)
* fix phpstan

* fix phpstan
2024-09-28 11:16:05 +02:00
Frédéric FRANCE
4b3c59fe64 fix phpstan (#31169)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-28 11:14:59 +02:00
Frédéric FRANCE
2583190e4a fix phpstan (#31146)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 22:21:57 +02:00
Frédéric FRANCE
9df2457236 fix phpstan (#31144)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 22:17:49 +02:00
MDW
ec07381f2c Qual: More specific ignoreErrors for phpstan (#31113)
* Qual: More specific ignoreErrors for phpstan

# Qual: More specific ignoreErrors for phpstan

More specific ignore expressions helps identify new exceptions that
would have matched the more generic ignore expressions.

It also helps to progressively solve phpstan notices
in smaller steps by modifying the expressions

* CamelCase for dictFieldList

* Update phan baseline
2024-09-26 17:42:40 +02:00
Frédéric FRANCE
64e7ccf5ef fix phpstan (#31124)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 15:30:49 +02:00
Frédéric FRANCE
1640fa8017 fix phpstan (#31093)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-25 22:56:28 +02:00
Frédéric FRANCE
11352fefce fix phpstan (#31094)
* fix phpstan

* fix phpstan
2024-09-25 22:45:23 +02:00
Frédéric FRANCE
a94cff63a7 fix phpstan (#31102)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-25 22:21:31 +02:00
Frédéric FRANCE
a82410706c fix phpstan (#31088)
* fix phpstan

* fix phpstan
2024-09-23 15:01:02 +02:00
Frédéric FRANCE
000173c7b9 fix phpstan (#31075)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 01:59:14 +02:00
MDW
038e1e8f05 Qual: Exclude lessc.class.php from phpstan (#31078)
# Qual: Exclude lessc.class.php from phpstan

'lessc' is considered an external analysis and can be
excluded from analysis (>400 less phpstan notices).
2024-09-23 00:26:10 +02:00
Frédéric FRANCE
13d4d96dfc fix phpstan (#31061)
* fix phpstan

* fix phpstan
2024-09-20 17:25:39 +02:00
Frédéric FRANCE
aaa3c8336e fix phpstan (#31006)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-20 02:20:33 +02:00
Frédéric FRANCE
f6776541b6 Fix ignored phpstan (#31009)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-20 02:19:05 +02:00
Frédéric FRANCE
32a85608f6 fix phpstan (#31010)
* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-20 02:18:08 +02:00
Frédéric FRANCE
ecf5f41110 fix phpstan (#31020)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-20 01:46:07 +02:00
Frédéric FRANCE
e252e36073 fix phpstan (#31024)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-20 01:45:17 +02:00
Frédéric FRANCE
a586e2c851 fix phpstan (#31018)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-20 01:33:20 +02:00
Frédéric FRANCE
82f947effe fix phpstan (#31030)
* fix phpstan

* fix phpstan
2024-09-20 00:32:44 +02:00
Frédéric FRANCE
d5fe4f998a fix phpstan (#30989)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-18 02:45:54 +02:00
Frédéric FRANCE
96dfda7ece fix phpstan (#30991)
* fix phpstan

* fix phpstan
2024-09-18 01:35:52 +02:00
Frédéric FRANCE
5fd996821b fix phpstan (#30962)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* Update html.formadmin.class.php
2024-09-17 02:54:44 +02:00
Laurent Destailleur
395c5527a9 Close #30959 2024-09-17 02:53:14 +02:00
Frédéric FRANCE
f2e580f46f fix phpstan (#30958)
* fix phpstan

* fix phpstan

* Update html.formadmin.class.php
2024-09-17 02:38:56 +02:00
Frédéric FRANCE
ea82f9578f fix phpstan (#30987)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-17 00:36:38 +02:00