diff --git a/composer.json b/composer.json index ace7cae..c8e733f 100644 --- a/composer.json +++ b/composer.json @@ -23,9 +23,9 @@ "cdn77/coding-standard": "^7.0", "infection/infection": "^0.29.0", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.1", - "phpstan/phpstan-phpunit": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", + "phpstan/phpstan": "^2.0", + "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^11.4" }, "autoload": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 1d4ca9c..2f7fd06 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,6 +1,9 @@ parameters: level: max + excludePaths: + - %currentWorkingDirectory%/tests/Fixtures/SomeDirectory/TraitFixture.php + paths: - %currentWorkingDirectory%/src - %currentWorkingDirectory%/tests