Skip to content

Commit

Permalink
Change phpstan to larastan
Browse files Browse the repository at this point in the history
  • Loading branch information
mako321 committed Jan 23, 2024
1 parent 0371a78 commit d3dbdd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/stan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
run: vendor/bin/testbench migrate:fresh

- name: Run tests
run: vendor/bin/phpstan analyse --level max src
run: ./vendor/bin/phpstan analyse
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"require-dev": {
"orchestra/testbench": ">=5.0",
"phpstan/phpstan": "^1.10",
"nunomaduro/larastan": "^1.0",
"phpunit/phpunit": "^9.0"
},
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
includes:
- ./vendor/nunomaduro/larastan/extension.neon

parameters:
paths:
- src/
level: 5

0 comments on commit d3dbdd0

Please sign in to comment.