Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit 3133c4c

Browse files
committed
Setup phpstan
1 parent b679656 commit 3133c4c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
},
2828
"scripts": {
2929
"phpcs": "./vendor/bin/phpcs --standard=PSR12 src",
30-
"phpcs:fix": "./vendor/bin/phpcbf --standard=PSR12 src"
30+
"phpcs:fix": "./vendor/bin/phpcbf --standard=PSR12 src",
31+
"phpstan": "./vendor/bin/phpstan analyse src -c phpstan.neon"
3132
}
3233
}

phpstan.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
parameters:
2+
phpVersion: 70400
3+
level: 9
4+
paths:
5+
- src

0 commit comments

Comments
 (0)