Skip to content

Commit

Permalink
Merge pull request #73 from localheinz/feature/config
Browse files Browse the repository at this point in the history
Enhancement: Configure level and paths via phpstan.neon
  • Loading branch information
localheinz authored Dec 13, 2019
2 parents eec7f46 + 924e273 commit 7e2e684
Show file tree
Hide file tree
Showing 2 changed files with 7 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 @@ -81,7 +81,7 @@ jobs:
run: composer install --no-interaction --no-progress --no-suggest

- name: "Run phpstan/phpstan"
run: vendor/bin/phpstan analyse -l max -c phpstan.neon src tests
run: vendor/bin/phpstan analyse --configuration=phpstan.neon

tests:
name: "Tests"
Expand Down
6 changes: 6 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
includes:
- src/extension.neon

parameters:
level: max
paths:
- src
- tests

0 comments on commit 7e2e684

Please sign in to comment.