Skip to content

Commit 503427b

Browse files
committed
add phpstan
1 parent e10dfb3 commit 503427b

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"require-dev": {
1111
"squizlabs/php_codesniffer": "^4.0",
1212
"slevomat/coding-standard": "^8.28",
13-
"phpunit/phpunit": "^12.0"
13+
"phpunit/phpunit": "^12.0",
14+
"phpstan/phpstan": "^2.1"
1415
},
1516
"config": {
1617
"allow-plugins": {

phpstan.neon

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
includes:
2+
parameters:
3+
level: 5
4+
paths:
5+
- src
6+
- tests
7+
reportUnmatchedIgnoredErrors: false

0 commit comments

Comments
 (0)