Skip to content
Extraits de code Groupes Projets
Valider 36edb52a rédigé par Maïeul's avatar Maïeul Validation de Maïeul
Parcourir les fichiers

chore: PHPstan niveau 2 + maj baseline (classes non trouvables)

parent a1bd8e56
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -360,6 +360,16 @@ parameters: ...@@ -360,6 +360,16 @@ parameters:
count: 1 count: 1
path: base/formidable_tables.php path: base/formidable_tables.php
-
message: "#^Access to property \\$key on an unknown class Crayon\\.$#"
count: 1
path: controleurs/formulaires_reponses_champ.php
-
message: "#^Call to method formulaire\\(\\) on an unknown class Crayon\\.$#"
count: 1
path: controleurs/formulaires_reponses_champ.php
- -
message: "#^Function find_in_path not found\\.$#" message: "#^Function find_in_path not found\\.$#"
count: 1 count: 1
...@@ -745,11 +755,26 @@ parameters: ...@@ -745,11 +755,26 @@ parameters:
count: 1 count: 1
path: formidable_autorisations.php path: formidable_autorisations.php
-
message: "#^Access to property \\$boucles on an unknown class Pile\\.$#"
count: 1
path: formidable_fonctions.php
-
message: "#^Access to property \\$code on an unknown class Pile\\.$#"
count: 2
path: formidable_fonctions.php
- -
message: "#^Function PtoBR not found\\.$#" message: "#^Function PtoBR not found\\.$#"
count: 1 count: 1
path: formidable_fonctions.php path: formidable_fonctions.php
-
message: "#^Function balise_VOIR_REPONSE_dist\\(\\) has invalid return type Pile\\.$#"
count: 1
path: formidable_fonctions.php
- -
message: "#^Function champ_sql not found\\.$#" message: "#^Function champ_sql not found\\.$#"
count: 2 count: 2
...@@ -815,6 +840,11 @@ parameters: ...@@ -815,6 +840,11 @@ parameters:
count: 1 count: 1
path: formidable_fonctions.php path: formidable_fonctions.php
-
message: "#^Parameter \\$p of function balise_VOIR_REPONSE_dist\\(\\) has invalid type Pile\\.$#"
count: 1
path: formidable_fonctions.php
- -
message: "#^Function charger_fonction not found\\.$#" message: "#^Function charger_fonction not found\\.$#"
count: 1 count: 1
...@@ -1575,6 +1605,36 @@ parameters: ...@@ -1575,6 +1605,36 @@ parameters:
count: 1 count: 1
path: genie/formidable_hasher_ip.php path: genie/formidable_hasher_ip.php
-
message: "#^Access to property \\$attributes on an unknown class Request\\.$#"
count: 1
path: http/collectionjson/formulaires_reponses.php
-
message: "#^Access to property \\$headers on an unknown class Response\\.$#"
count: 1
path: http/collectionjson/formulaires_reponses.php
-
message: "#^Call to method getContent\\(\\) on an unknown class Request\\.$#"
count: 1
path: http/collectionjson/formulaires_reponses.php
-
message: "#^Call to method setCharset\\(\\) on an unknown class Response\\.$#"
count: 1
path: http/collectionjson/formulaires_reponses.php
-
message: "#^Call to method setContent\\(\\) on an unknown class Response\\.$#"
count: 1
path: http/collectionjson/formulaires_reponses.php
-
message: "#^Call to method setStatusCode\\(\\) on an unknown class Response\\.$#"
count: 1
path: http/collectionjson/formulaires_reponses.php
- -
message: "#^Function _T not found\\.$#" message: "#^Function _T not found\\.$#"
count: 1 count: 1
...@@ -1615,6 +1675,16 @@ parameters: ...@@ -1615,6 +1675,16 @@ parameters:
count: 1 count: 1
path: http/collectionjson/formulaires_reponses.php path: http/collectionjson/formulaires_reponses.php
-
message: "#^Parameter \\$reponse of function http_collectionjson_formulaires_reponses_post_collection_dist\\(\\) has invalid type Response\\.$#"
count: 1
path: http/collectionjson/formulaires_reponses.php
-
message: "#^Parameter \\$requete of function http_collectionjson_formulaires_reponses_post_collection_dist\\(\\) has invalid type Request\\.$#"
count: 1
path: http/collectionjson/formulaires_reponses.php
- -
message: "#^Function _L not found\\.$#" message: "#^Function _L not found\\.$#"
count: 1 count: 1
...@@ -1735,6 +1805,11 @@ parameters: ...@@ -1735,6 +1805,11 @@ parameters:
count: 1 count: 1
path: inc/formidable.php path: inc/formidable.php
-
message: "#^Call to method emballer\\(\\) on an unknown class Spip\\\\Archives\\\\SpipArchives\\.$#"
count: 2
path: inc/formidable_fichiers.php
- -
message: "#^Constant _DIR_ETC not found\\.$#" message: "#^Constant _DIR_ETC not found\\.$#"
count: 1 count: 1
...@@ -1995,6 +2070,16 @@ parameters: ...@@ -1995,6 +2070,16 @@ parameters:
count: 1 count: 1
path: spip-cli/FormidableExporterFormulaire.php path: spip-cli/FormidableExporterFormulaire.php
-
message: "#^Call to method getArgument\\(\\) on an unknown class Symfony\\\\Component\\\\Console\\\\Input\\\\InputInterface\\.$#"
count: 1
path: spip-cli/FormidableExporterFormulaire.php
-
message: "#^Call to method getOption\\(\\) on an unknown class Symfony\\\\Component\\\\Console\\\\Input\\\\InputInterface\\.$#"
count: 1
path: spip-cli/FormidableExporterFormulaire.php
- -
message: "#^Function calculer_cle_action not found\\.$#" message: "#^Function calculer_cle_action not found\\.$#"
count: 1 count: 1
......
...@@ -7,4 +7,4 @@ parameters: ...@@ -7,4 +7,4 @@ parameters:
excludePaths: excludePaths:
analyseAndScan: analyseAndScan:
- lang - lang
level: 1 level: 2
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter