diff --git a/composer.json b/composer.json index dff1b18..f7d471a 100644 --- a/composer.json +++ b/composer.json @@ -13,13 +13,13 @@ "require-dev": { "editorconfig-checker/editorconfig-checker": "^10.6.0", "ergebnis/composer-normalize": "^2.44.0", - "phpstan/phpstan": "^1.12.7", - "phpstan/phpstan-phpunit": "^1.4.0", - "phpstan/phpstan-strict-rules": "^1.6.1", + "phpstan/phpstan": "^2.0.1", + "phpstan/phpstan-phpunit": "^2.0.0", + "phpstan/phpstan-strict-rules": "^2.0.0", "phpunit/phpunit": "^10.5", "shipmonk/composer-dependency-analyser": "^1.7", "shipmonk/name-collision-detector": "^2.1.1", - "shipmonk/phpstan-rules": "^3.2.1", + "shipmonk/phpstan-rules": "^4.0.0", "slevomat/coding-standard": "^8.15.0" }, "autoload": { @@ -53,7 +53,7 @@ "check:dependencies": "composer-dependency-analyser", "check:ec": "ec src tests", "check:tests": "phpunit tests", - "check:types": "phpstan analyse -vvv", + "check:types": "phpstan analyse -vv", "fix:cs": "phpcbf" } } diff --git a/phpstan.neon.dist b/phpstan.neon.dist index a782f1c..64f3e38 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,5 +1,4 @@ includes: - - phar://phpstan.phar/conf/config.levelmax.neon - phar://phpstan.phar/conf/bleedingEdge.neon - ./vendor/phpstan/phpstan-phpunit/extension.neon - ./vendor/phpstan/phpstan-phpunit/rules.neon @@ -7,6 +6,7 @@ includes: - ./vendor/shipmonk/phpstan-rules/rules.neon parameters: + level: 9 paths: - src - tests