Add phpstan baseline

This commit is contained in:
2022-11-17 19:13:13 +01:00
parent 02bd7fce11
commit 34fcc4905a
2 changed files with 145 additions and 2 deletions

View File

@ -6,14 +6,15 @@ parameters:
- functions
- inc
- public
- src
- tests
ignoreErrors:
- '#Class MDDBConnectionImpossible not found.#'
- '#Class MDMysqliExpectedError not found.#'
excludePaths:
- classes/MDAllowedValueSets/l18n
bootstrapFiles:
- inc/constants.php
excludes_analyse:
- classes/MDAllowedValueSets/l18n
disallowedFunctionCalls:
-
function: 'ini_alter()'
@ -63,3 +64,4 @@ parameters:
includes:
- classes/MD_QA/rules/phpstan-rules.neon
- vendor/spaze/phpstan-disallowed-calls/extension.neon
- phpstan-baseline.neon