Browse Source

chore: fichier de conf et baseline phpstan + git attributes pour ne pas les exporter

master
b_b 2 months ago
parent
commit
023d8696d3
  1. 2
      .gitattributes
  2. 291
      phpstan-baseline.neon
  3. 10
      phpstan.neon.dist

2
.gitattributes vendored

@ -0,0 +1,2 @@
/phpstan.neon.dist export-ignore
/phpstan-baseline.neon export-ignore

291
phpstan-baseline.neon

@ -0,0 +1,291 @@
parameters:
ignoreErrors:
-
message: "#^Function _T not found\\.$#"
count: 5
path: action/spipicious_ajouter_tags.php
-
message: "#^Function _request not found\\.$#"
count: 3
path: action/spipicious_ajouter_tags.php
-
message: "#^Function autoriser not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function corriger_caracteres not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function id_table_objet not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function include_spip not found\\.$#"
count: 4
path: action/spipicious_ajouter_tags.php
-
message: "#^Function lire_config not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function mot_inserer not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function mot_modifier not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function objet_associer not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function sql_fetsel not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function sql_getfetsel not found\\.$#"
count: 3
path: action/spipicious_ajouter_tags.php
-
message: "#^Function sql_insertq not found\\.$#"
count: 2
path: action/spipicious_ajouter_tags.php
-
message: "#^Function sql_quote not found\\.$#"
count: 4
path: action/spipicious_ajouter_tags.php
-
message: "#^Function sql_updateq not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function table_objet_sql not found\\.$#"
count: 1
path: action/spipicious_ajouter_tags.php
-
message: "#^Function _T not found\\.$#"
count: 2
path: action/spipicious_supprimer_tags.php
-
message: "#^Function _request not found\\.$#"
count: 3
path: action/spipicious_supprimer_tags.php
-
message: "#^Function autoriser not found\\.$#"
count: 1
path: action/spipicious_supprimer_tags.php
-
message: "#^Function id_table_objet not found\\.$#"
count: 1
path: action/spipicious_supprimer_tags.php
-
message: "#^Function include_spip not found\\.$#"
count: 3
path: action/spipicious_supprimer_tags.php
-
message: "#^Function mot_supprimer not found\\.$#"
count: 1
path: action/spipicious_supprimer_tags.php
-
message: "#^Function objet_dissocier not found\\.$#"
count: 1
path: action/spipicious_supprimer_tags.php
-
message: "#^Function sql_delete not found\\.$#"
count: 1
path: action/spipicious_supprimer_tags.php
-
message: "#^Function sql_getfetsel not found\\.$#"
count: 3
path: action/spipicious_supprimer_tags.php
-
message: "#^Function sql_quote not found\\.$#"
count: 2
path: action/spipicious_supprimer_tags.php
-
message: "#^Function _request not found\\.$#"
count: 3
path: formulaires/spipicious_ajax.php
-
message: "#^Function autoriser not found\\.$#"
count: 1
path: formulaires/spipicious_ajax.php
-
message: "#^Function charger_fonction not found\\.$#"
count: 2
path: formulaires/spipicious_ajax.php
-
message: "#^Function id_table_objet not found\\.$#"
count: 1
path: formulaires/spipicious_ajax.php
-
message: "#^Function include_spip not found\\.$#"
count: 4
path: formulaires/spipicious_ajax.php
-
message: "#^Function lire_config not found\\.$#"
count: 1
path: formulaires/spipicious_ajax.php
-
message: "#^Function suivre_invalideur not found\\.$#"
count: 1
path: formulaires/spipicious_ajax.php
-
message: "#^Function ecrire_meta not found\\.$#"
count: 3
path: spipicious_administrations.php
-
message: "#^Function effacer_meta not found\\.$#"
count: 2
path: spipicious_administrations.php
-
message: "#^Function id_table_objet not found\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Function include_spip not found\\.$#"
count: 2
path: spipicious_administrations.php
-
message: "#^Function lire_config not found\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Function maj_plugin not found\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Function sql_drop_table not found\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Function sql_fetch not found\\.$#"
count: 2
path: spipicious_administrations.php
-
message: "#^Function sql_fetsel not found\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Function sql_getfetsel not found\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Function sql_insertq not found\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Function sql_quote not found\\.$#"
count: 3
path: spipicious_administrations.php
-
message: "#^Function sql_select not found\\.$#"
count: 2
path: spipicious_administrations.php
-
message: "#^Function sql_updateq not found\\.$#"
count: 4
path: spipicious_administrations.php
-
message: "#^Function table_objet_sql not found\\.$#"
count: 1
path: spipicious_administrations.php
-
message: "#^Function lire_config not found\\.$#"
count: 1
path: spipicious_autoriser.php
-
message: "#^Function find_in_path not found\\.$#"
count: 1
path: spipicious_pipelines.php
-
message: "#^Function id_table_objet not found\\.$#"
count: 1
path: spipicious_pipelines.php
-
message: "#^Function objet_type not found\\.$#"
count: 1
path: spipicious_pipelines.php
-
message: "#^Function sql_delete not found\\.$#"
count: 1
path: spipicious_pipelines.php
-
message: "#^Function sql_fetch not found\\.$#"
count: 2
path: spipicious_pipelines.php
-
message: "#^Function sql_quote not found\\.$#"
count: 4
path: spipicious_pipelines.php
-
message: "#^Function sql_select not found\\.$#"
count: 2
path: spipicious_pipelines.php
-
message: "#^Function sql_updateq not found\\.$#"
count: 2
path: spipicious_pipelines.php
-
message: "#^Function table_objet_sql not found\\.$#"
count: 1
path: spipicious_pipelines.php

10
phpstan.neon.dist

@ -0,0 +1,10 @@
includes:
- phpstan-baseline.neon
parameters:
paths:
- .
excludePaths:
analyseAndScan:
- lang
level: 0
Loading…
Cancel
Save