Skip to content

Commit

Permalink
feat: phpstan workflow changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
victore13 committed Sep 16, 2024
1 parent 2dcf5c0 commit c52b7c2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
paths:
- '**.php'
- 'phpstan.neon'
- 'phpstan.neon.dist'
- '.github/workflows/phpstan.yml'

jobs:
Expand All @@ -25,4 +25,4 @@ jobs:
uses: ramsey/composer-install@v3

- name: Run PHPStan
run: ./vendor/bin/phpstan analyse --error-format=github
run: ./vendor/bin/phpstan --error-format=github
12 changes: 12 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
includes:
- vendor/larastan/larastan/extension.neon

parameters:
level: 9

paths:
- src/
- config/
- routes/
- database/

0 comments on commit c52b7c2

Please sign in to comment.