Skip to content

Commit

Permalink
Merge pull request #130 from JakyeRU/phpstan-script
Browse files Browse the repository at this point in the history
Phpstan Config
  • Loading branch information
JakyeRU authored Sep 23, 2023
2 parents 6f72a3e + aa4837a commit 4387e86
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
]
}
},
"scripts": {
"test": [
"@php vendor/bin/phpunit --testdox"
],
"phpstan": [
"@php vendor/bin/phpstan analyse -c phpstan.neon"
]
},
"require-dev": {
"orchestra/testbench": "^8",
"phpstan/phpstan": "^1.10"
Expand Down
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
parameters:
level: 6
paths:
- src

1 comment on commit 4387e86

@vercel
Copy link

@vercel vercel bot commented on 4387e86 Sep 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.