Browse Source

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

master
b_b 2 months ago
parent
commit
629e74f9cc
  1. 2
      .gitattributes
  2. 181
      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

181
phpstan-baseline.neon

@ -0,0 +1,181 @@
parameters:
ignoreErrors:
-
message: "#^Function _L not found\\.$#"
count: 1
path: action/editer_legende.php
-
message: "#^Function _request not found\\.$#"
count: 7
path: action/editer_legende.php
-
message: "#^Function autoriser not found\\.$#"
count: 2
path: action/editer_legende.php
-
message: "#^Function charger_fonction not found\\.$#"
count: 1
path: action/editer_legende.php
-
message: "#^Function include_spip not found\\.$#"
count: 4
path: action/editer_legende.php
-
message: "#^Function objet_modifier_champs not found\\.$#"
count: 1
path: action/editer_legende.php
-
message: "#^Function pipeline not found\\.$#"
count: 1
path: action/editer_legende.php
-
message: "#^Function spip_log not found\\.$#"
count: 1
path: action/editer_legende.php
-
message: "#^Function sql_delete not found\\.$#"
count: 1
path: action/editer_legende.php
-
message: "#^Function sql_fetsel not found\\.$#"
count: 2
path: action/editer_legende.php
-
message: "#^Function sql_insertq not found\\.$#"
count: 1
path: action/editer_legende.php
-
message: "#^Function autoriser not found\\.$#"
count: 1
path: action/supprimer_legende.php
-
message: "#^Function charger_fonction not found\\.$#"
count: 1
path: action/supprimer_legende.php
-
message: "#^Function include_spip not found\\.$#"
count: 2
path: action/supprimer_legende.php
-
message: "#^Function _T not found\\.$#"
count: 2
path: formulaires/editer_legende.php
-
message: "#^Function _request not found\\.$#"
count: 2
path: formulaires/editer_legende.php
-
message: "#^Function charger_fonction not found\\.$#"
count: 1
path: formulaires/editer_legende.php
-
message: "#^Function formulaires_editer_objet_charger not found\\.$#"
count: 1
path: formulaires/editer_legende.php
-
message: "#^Function include_spip not found\\.$#"
count: 5
path: formulaires/editer_legende.php
-
message: "#^Function redirige_formulaire not found\\.$#"
count: 1
path: formulaires/editer_legende.php
-
message: "#^Function set_request not found\\.$#"
count: 1
path: formulaires/editer_legende.php
-
message: "#^Function sql_fetsel not found\\.$#"
count: 1
path: formulaires/editer_legende.php
-
message: "#^Function effacer_meta not found\\.$#"
count: 2
path: legendes_administrations.php
-
message: "#^Function include_spip not found\\.$#"
count: 1
path: legendes_administrations.php
-
message: "#^Function maj_plugin not found\\.$#"
count: 1
path: legendes_administrations.php
-
message: "#^Function sql_drop_table not found\\.$#"
count: 1
path: legendes_administrations.php
-
message: "#^Function autoriser not found\\.$#"
count: 3
path: legendes_autoriser.php
-
message: "#^Function lire_config not found\\.$#"
count: 6
path: legendes_autoriser.php
-
message: "#^Function sql_fetsel not found\\.$#"
count: 1
path: legendes_autoriser.php
-
message: "#^Function sql_getfetsel not found\\.$#"
count: 2
path: legendes_autoriser.php
-
message: "#^Function document_modifier not found\\.$#"
count: 1
path: legendes_pipelines.php
-
message: "#^Function include_spip not found\\.$#"
count: 5
path: legendes_pipelines.php
-
message: "#^Function sql_fetch not found\\.$#"
count: 2
path: legendes_pipelines.php
-
message: "#^Function sql_getfetsel not found\\.$#"
count: 1
path: legendes_pipelines.php
-
message: "#^Function sql_select not found\\.$#"
count: 2
path: legendes_pipelines.php
-
message: "#^Function suivre_invalideur not found\\.$#"
count: 1
path: legendes_pipelines.php

10
phpstan.neon.dist

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