Browse Source

chore: phpstan level 3 + update baseline

master
b_b 2 months ago
parent
commit
7f27a7b40e
  1. 15
      phpstan-baseline.neon
  2. 2
      phpstan.neon.dist

15
phpstan-baseline.neon

@ -240,6 +240,21 @@ parameters:
count: 1
path: spipicious_administrations.php
-
message: "#^Offset 'id_article'\\|'id_document'\\|'id_evenement'\\|'id_rubrique'\\|'id_syndic' does not exist on array\\{id_objet\\: mixed, objet\\: 'article'\\|'document'\\|'evenement'\\|'rubrique'\\|'syndic'\\}\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Offset 'id_auteur' does not exist on array\\{id_objet\\: mixed, objet\\: 'article'\\|'document'\\|'evenement'\\|'rubrique'\\|'syndic'\\}\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Offset 'id_mot' does not exist on array\\{id_objet\\: mixed, objet\\: 'article'\\|'document'\\|'evenement'\\|'rubrique'\\|'syndic'\\}\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Function lire_config not found\\.$#"
count: 1

2
phpstan.neon.dist

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

Loading…
Cancel
Save