Browse Source

chore: phpstan level 2 + update baseline

pull/46/head
b_b 2 months ago
parent
commit
c284dea075
  1. 7
      phpstan-baseline.neon
  2. 2
      phpstan.neon.dist

7
phpstan-baseline.neon

@ -622,7 +622,7 @@ parameters:
-
message: "#^Function include_spip not found\\.$#"
count: 4
count: 5
path: inc/kml_infos.php
-
@ -650,11 +650,6 @@ parameters:
count: 1
path: inc/kml_infos.php
-
message: "#^Instantiated class PclZip not found\\.$#"
count: 1
path: inc/kml_infos.php
-
message: "#^Function copie_locale not found\\.$#"
count: 1

2
phpstan.neon.dist

@ -9,6 +9,6 @@ parameters:
- lang
analyse:
- inc/iptc.php
level: 1
level: 2
bootstrapFiles:
- phpstan-constants.php

Loading…
Cancel
Save