Skip to content

Commit 00735a8

Browse files
committed
fix phpstan setup
1 parent 9ba5388 commit 00735a8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
}
3636
},
3737
"scripts": {
38-
"phpstan": "phpstan analyze",
39-
"tests": "tester ./tests/test.php && phpstan analyze"
38+
"phpstan": "phpstan analyze -c phpstan.neon",
39+
"tests": "tester ./tests/test.php && phpstan analyze -c phpstan.neon"
4040
},
4141
"config": {
4242
"allow-plugins": {

tests/config.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
parameters:
22
scanDirectories:
33
- %rootDir%/../../../tests/testbox
4+
paths:
5+
- ../src
46

57
services:
68
errorFormatter.rawSimple:

0 commit comments

Comments
 (0)