diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 257264a..483c43d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: run: vendor/bin/phpunit - name: Run phpstan - run: vendor/bin/phpstan analyze --no-progress --level=4 src/ + run: vendor/bin/phpstan analyze --no-progress src/ - name: Validate coding standards run: vendor/bin/phpcs diff --git a/composer.json b/composer.json index 9a0c58f..00da9c2 100755 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ }, "require-dev": { "phpunit/phpunit": "^10.0 || ^11.0", - "phpstan/phpstan": "^1", + "phpstan/phpstan": "^2", "squizlabs/php_codesniffer": "^3.8", "slevomat/coding-standard": "~8.0" },