Skip to content

Commit

Permalink
Install larastan
Browse files Browse the repository at this point in the history
  • Loading branch information
rawilk committed Sep 29, 2023
1 parent 12ccace commit ea10e3f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/.gitignore export-ignore
/bin export-ignore
/docs export-ignore
/phpstan.neon.dist export-ignore
/phpunit.xml.dist export-ignore
/pint.json export-ignore
/tests export-ignore
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
},
"require-dev": {
"laravel/pint": "^1.2",
"nunomaduro/larastan": "^2.6",
"orchestra/testbench": "^8.0",
"pestphp/pest": "^2.10",
"pestphp/pest-plugin-laravel": "^2.2",
Expand Down
13 changes: 13 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
includes:
- ./vendor/nunomaduro/larastan/extension.neon

parameters:
level: 4
paths:
- src
- config
- database
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
checkMissingIterableValueType: false

0 comments on commit ea10e3f

Please sign in to comment.