Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from kent1D/dev/phpstan
introduction d'une baseline phpstan & fix de divers warnings
- Loading branch information
Showing
3 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Function effacer_meta not found\\.$#" | ||
count: 1 | ||
path: hal_auteurs_administrations.php | ||
|
||
- | ||
message: "#^Function include_spip not found\\.$#" | ||
count: 1 | ||
path: hal_auteurs_administrations.php | ||
|
||
- | ||
message: "#^Function maj_plugin not found\\.$#" | ||
count: 1 | ||
path: hal_auteurs_administrations.php | ||
|
||
- | ||
message: "#^Function _T not found\\.$#" | ||
count: 2 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function _request not found\\.$#" | ||
count: 1 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function autoriser not found\\.$#" | ||
count: 1 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function hal_inserer not found\\.$#" | ||
count: 1 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function hal_modifier not found\\.$#" | ||
count: 2 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function include_spip not found\\.$#" | ||
count: 3 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function objet_associer not found\\.$#" | ||
count: 1 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function objet_dissocier not found\\.$#" | ||
count: 2 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function recuperer_fond not found\\.$#" | ||
count: 2 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function sql_fetch not found\\.$#" | ||
count: 1 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function sql_fetsel not found\\.$#" | ||
count: 2 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function sql_getfetsel not found\\.$#" | ||
count: 2 | ||
path: hal_auteurs_pipelines.php | ||
|
||
- | ||
message: "#^Function sql_select not found\\.$#" | ||
count: 1 | ||
path: hal_auteurs_pipelines.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
|
||
parameters: | ||
paths: | ||
- . | ||
excludePaths: | ||
analyseAndScan: | ||
- lang | ||
level: 3 |