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

pull/169/head
Maïeul 3 months ago
parent 3cfb7da901
commit c0105c264e

@ -360,6 +360,16 @@ parameters:
count: 1
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\\.$#"
count: 1
@ -745,11 +755,26 @@ parameters:
count: 1
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\\.$#"
count: 1
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\\.$#"
count: 2
@ -815,6 +840,11 @@ parameters:
count: 1
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\\.$#"
count: 1
@ -1575,6 +1605,36 @@ parameters:
count: 1
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\\.$#"
count: 1
@ -1615,6 +1675,16 @@ parameters:
count: 1
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\\.$#"
count: 1
@ -1735,6 +1805,11 @@ parameters:
count: 1
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\\.$#"
count: 1
@ -1995,6 +2070,16 @@ parameters:
count: 1
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\\.$#"
count: 1

@ -7,4 +7,4 @@ parameters:
excludePaths:
analyseAndScan:
- lang
level: 1
level: 2

Loading…
Cancel
Save