Added ECS and PHPStan

With helper batch files
This commit is contained in:
Pen-y-Fan
2020-05-18 22:42:07 +01:00
parent 182f8f4354
commit 1b405f33c9
6 changed files with 42 additions and 0 deletions

26
php/phpstan.neon Normal file
View File

@@ -0,0 +1,26 @@
includes:
- vendor/symplify/phpstan-extensions/config/config.neon
- vendor/phpstan/phpstan-phpunit/extension.neon
parameters:
paths:
- src
- tests
# The level 8 is the highest level
level: 8
# Larstan recommendation:
checkMissingIterableValueType: false
ignoreErrors:
# buggy
# mixed
# cache buggy
# tests
# iterable