Skip to content

Commit

Permalink
updated phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 12, 2022
1 parent 1a410d5 commit 0e65fc2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.gitattributes export-ignore
.gitignore export-ignore
.github export-ignore
.travis.yml export-ignore
ecs.php export-ignore
phpstan.neon export-ignore
tests/ export-ignore

*.sh eol=lf
*.php* diff=php linguist-language=PHP
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"minimum-stability": "dev",
"scripts": {
"phpstan": "phpstan analyse --level 5 src",
"phpstan": "phpstan analyse",
"tester": "tester tests -s"
},
"extra": {
Expand Down
5 changes: 5 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
parameters:
level: 5

paths:
- src

0 comments on commit 0e65fc2

Please sign in to comment.