Add PHPStan
This commit is contained in:
parent
1ab692bb16
commit
cb781a8583
4 changed files with 355 additions and 2 deletions
12
phpstan.neon
Normal file
12
phpstan.neon
Normal file
|
@ -0,0 +1,12 @@
|
|||
parameters:
|
||||
level: 7
|
||||
paths:
|
||||
- web/modules/custom
|
||||
- web/themes/custom
|
||||
excludes_analyse:
|
||||
- *Test.php
|
||||
- *TestBase.php
|
||||
checkMissingIterableValueType: false
|
||||
includes:
|
||||
- vendor/mglaman/phpstan-drupal/extension.neon
|
||||
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
|
Loading…
Add table
Add a link
Reference in a new issue