Commit Graph

133 Commits

Author SHA1 Message Date
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
Frédéric FRANCE
a5190ac613 fix phpstan (#30986)
* fix phpstan

* fix phpstan
2024-09-17 00:32:41 +02:00
Frédéric FRANCE
763405a34c fix phpstan (#30985)
* fix phpstan

* fix phpstan
2024-09-17 00:23:25 +02:00
Frédéric FRANCE
e43789a3d7 fix phpstan (#30984)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-17 00:22:47 +02:00
MDW
320f0590d2 Qual: More specific phpstan exceptions (#30967)
* Qual: 🛟 Fix typing

Qual: Fix typing

Fix some typing currently failing ci in develop.

* Fix typing for grabimages

* Qual: More specific phpstan exceptions

# Qual: More specific phpstan exceptions

Avoid ignoring new types of code errors
2024-09-16 01:46:20 +02:00
Frédéric FRANCE
2a6bbf88df fix phpstan (#30944)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-13 17:40:03 +02:00
Frédéric FRANCE
ef0a3329a1 fix phpstan (#30914)
* fix phpstan

* fix phpstan

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-13 03:11:43 +02:00
MDW
f89245b354 Qual: Fix some CommonIncoterm/DocGenerator/People typings (#30940)
* Fix extraparams property typing

* Fix argument typing

* Fix 'status' argument type in calls to dolGetButtonTitle

* Fix argument2 for price to 1 (was 2)

* Fix deliveryreceipt argument

* Fix PHPDoc dol_sort_array

* Fix range for int argument

* Fix arg type for str_pad and add some PHPDoc

* Fix natsort value for dol_sort_array

* Fix arguments on calls to dol_sort_array

* Reduce phpstan exceptions

* Qual: Add type hints for Stripe objects

# Qual: Add type hints for Stripe objects

Suggest the more specific implementation of the StripObject.

* Typing, initialisation

* Qual: Fix undeclared variables

* Update phan baseline

* Update baseline

* Qual: Add type hints for Stripe objects

# Qual: Add type hints for Stripe objects

Suggest the more specific implementation of the StripObject.

* Add PHPDoc for host class properties

* Ignore false positive (phan) for deprecated property

* Improve typing

* Update baseline
2024-09-13 03:09:23 +02:00
MDW
76eaf8bd8d Qual: Fix phan notices in classes related to class using getNextValue. (#30925)
* FIX 🛟 phan

* getToolTip() can take null for $coc

* Fix uninitialized vars & arg types

* PHPDoc typing, argument fixes

* PHPDoc typing, argument fixes for AdherentType

* PHPDoc typing, argument fixes for AdherentStats

* Update baseline to enable adherent notices

* Fix PHPDoc typing in api_members

* Minor bug fixes, typing

* PHPDoc api_subscriptions

* PHPDoc Societe

* Ignore empty foreach notice

* Add initialiser

* Categorie is string, old int mode is deprecated

* Fix missing initialisations

* Fix missing initialisations adherents/note

* Fix typing (cast), initialisation of var

* Fix initialisations

* Fix argument types

* Improve array PHPDoc type

* PHPDoc array type

* PHPDoc: Improve typing

* Correct argument type to getNomUrl

* Improve typing for timespent

* Fix typing for getNextValue args

* Improve typing

* Fix typing hints contrat/card

* Update baseline

* Fix typing

* Fix extraparams property typing

* Fix argument typing

* Qual: Correct covariant type

* Impove typing for timespent

* Remove exclusion no longer matched (level 6)

---------

Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
2024-09-12 21:16:42 +02:00
Frédéric FRANCE
97b97c6665 fix phpstan (#30912)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-10 14:58:36 +02:00
Frédéric FRANCE
03ca17ee40 fix phpstan (#30911)
* fix phpstan

* fix phpstan
2024-09-10 14:54:54 +02:00
Frédéric FRANCE
fba71ab043 fix phpstan (#30893)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-10 01:02:56 +02:00
Frédéric FRANCE
2d02bec9ba fix phpstan (#30882)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-09 03:13:43 +02:00
Frédéric FRANCE
6aac956b7a fix phpstan (#30868)
* fix phpstan

* fix phpstan

* fix phpstan
2024-09-09 02:29:23 +02:00
Frédéric FRANCE
797bfb27e0 fix phpstan (#30881)
* fix phpstan

* fix phpstan
2024-09-09 02:28:35 +02:00
Frédéric FRANCE
f29e9e760f fix phpstan (#30861)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-09-06 14:02:53 +02:00