Skip to content

Commit

Permalink
Update to phpstan v2
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Nov 11, 2024
1 parent 18c73de commit 6b1f434
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 6b1f434

Please sign in to comment.