chore: Update PHPStan configuration - add deprecations baseline.

This commit is contained in:
Pol Dellaiera 2021-11-23 15:18:25 +01:00
parent ffbd572513
commit d586f848f5
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
3 changed files with 1651 additions and 8 deletions

View File

@ -1,10 +1,13 @@
imports:
- { resource: tests/app/vendor/drupol/php-conventions/config/php73/grumphp.yml }
- {
resource: tests/app/vendor/drupol/php-conventions/config/php73/grumphp.yml,
}
parameters:
tasks.phpcsfixer.config: .php_cs.dist.php
tasks.license.name: AGPL-3.0
tasks.license.holder: Champs-Libres
tasks.license.date_from: 2001
tasks.phpcsfixer.config: .php_cs.dist.php
tasks.license.name: AGPL-3.0
tasks.license.holder: Champs-Libres
tasks.license.date_from: 2001
tasks.phpcsfixer.allow_risky: false
tasks.phpcsfixer.allow_risky: false
tasks.phpstan.level: 1

1638
phpstan-deprecations.neon Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,7 @@ parameters:
paths:
- src/
excludePaths:
- docs/
- src/Bundle/*/Tests/*
- src/Bundle/*/tests/*
- src/Bundle/*/Test/*
@ -18,7 +19,8 @@ parameters:
- src/Bundle/*/src/Resources/*
includes:
- phpstan-types.neon
- phpstan-critical.neon
- phpstan-baseline.neon
- phpstan-critical.neon
- phpstan-deprecations.neon
- phpstan-types.neon