Skip to content

Commit

Permalink
PHPStan: move CLI options to config
Browse files Browse the repository at this point in the history
This will make it more intuitive for contributors to run PHPStan locally.
  • Loading branch information
jrfnl committed Sep 11, 2024
1 parent 421324d commit 48b3ded
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
coverage: "none"
- uses: "ramsey/composer-install@v3"
- name: "Run PHPStan"
run: "phpstan analyse -c phpstan.neon -l 4 getid3"
run: "phpstan"
3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
parameters:
level: 4
paths:
- getid3
excludes_analyse:
polluteScopeWithLoopInitialAssignments: true
dynamicConstantNames:
Expand Down

0 comments on commit 48b3ded

Please sign in to comment.