diff --git a/Makefile b/Makefile index 8cec0a5b..c58ca06e 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,8 @@ cs-fix: .PHONY: phpstan phpstan: - php vendor/bin/phpstan analyse -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 -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 4441aa97..7b35ce80 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -12,6 +12,10 @@ parameters: resultCachePath: tmp/resultCache.php + paths: + - src + - tests + excludePaths: - tests/*/data/* ignoreErrors: