Browse Source

update phpstan baseline & constants

pull/34/head
b_b 5 months ago
parent
commit
717bebc46c
  1. 54
      phpstan-baseline.neon
  2. 4
      phpstan-constants.php

54
phpstan-baseline.neon

@ -335,6 +335,11 @@ parameters:
count: 1
path: gis_fonctions.php
-
message: "#^Function charger_filtre not found\\.$#"
count: 1
path: gis_fonctions.php
-
message: "#^Function charger_fonction not found\\.$#"
count: 1
@ -372,7 +377,7 @@ parameters:
-
message: "#^Function include_spip not found\\.$#"
count: 5
count: 6
path: gis_fonctions.php
-
@ -412,7 +417,7 @@ parameters:
-
message: "#^Function sql_fetsel not found\\.$#"
count: 2
count: 3
path: gis_fonctions.php
-
@ -650,6 +655,51 @@ parameters:
count: 1
path: inc/kml_infos.php
-
message: "#^Function copie_locale not found\\.$#"
count: 1
path: inc/staticmap.php
-
message: "#^Function extraire_attribut not found\\.$#"
count: 1
path: inc/staticmap.php
-
message: "#^Function find_in_path not found\\.$#"
count: 4
path: inc/staticmap.php
-
message: "#^Function image_reduire_par not found\\.$#"
count: 1
path: inc/staticmap.php
-
message: "#^Function image_typo not found\\.$#"
count: 1
path: inc/staticmap.php
-
message: "#^Function include_spip not found\\.$#"
count: 2
path: inc/staticmap.php
-
message: "#^Function sinon not found\\.$#"
count: 2
path: inc/staticmap.php
-
message: "#^Function sous_repertoire not found\\.$#"
count: 3
path: inc/staticmap.php
-
message: "#^Function taille_image not found\\.$#"
count: 1
path: inc/staticmap.php
-
message: "#^Function include_spip not found\\.$#"
count: 1

4
phpstan-constants.php

@ -3,4 +3,6 @@
define('_TRAITEMENT_RACCOURCIS', 1);
define('_DIR_RACINE', 1);
define('_DIR_VAR', 1);
define('_DIR_TMP', 1);
define('_DIR_TMP', 1);
define('_INC_DISTANT_USER_AGENT', 1);
define('_TAILLE_MAX_GIS_STATIC', 1);
Loading…
Cancel
Save