diff --git a/composer.json b/composer.json index 3a1f85a..b2714d1 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ } }, "scripts": { - "phpstan": "phpstan analyse src tests --configuration phpstan.neon --memory-limit=2G", + "phpstan": "phpstan analyse --configuration phpstan.neon --memory-limit=2G", "test": "phpunit", "lint": "phpcs", "lint:fix": "phpcbf" diff --git a/phpstan.neon b/phpstan.neon index 9f6b4bb..0e12907 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -3,6 +3,9 @@ includes: parameters: level: max + paths: + - main.php + - src/ + - phpunit-tests/ excludePaths: - - tests/ - - phpunit-tests/data + - phpunit-tests/data/