diff --git a/Makefile b/Makefile index efc169db..8c112038 100644 --- a/Makefile +++ b/Makefile @@ -27,8 +27,8 @@ cs-fix: .PHONY: phpstan phpstan: - php vendor/bin/phpstan analyse -l 8 -c phpstan.neon src tests + php vendor/bin/phpstan analyse -c phpstan.neon .PHONY: phpstan-generate-baseline phpstan-generate-baseline: - php vendor/bin/phpstan analyse -l 8 -c phpstan.neon src tests -b phpstan-baseline.neon + php vendor/bin/phpstan analyse -c phpstan.neon -b phpstan-baseline.neon diff --git a/phpstan.neon b/phpstan.neon index f701caa0..eabc5225 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -13,6 +13,11 @@ includes: - phar://phpstan.phar/conf/bleedingEdge.neon parameters: + level: 8 + paths: + - src + - tests + excludePaths: - tests/*/data/* - tests/*/data-attributes/*