Skip to content

Commit

Permalink
fix phpstan setup
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Mar 23, 2024
1 parent 9ba5388 commit 00735a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
}
},
"scripts": {
"phpstan": "phpstan analyze",
"tests": "tester ./tests/test.php && phpstan analyze"
"phpstan": "phpstan analyze -c phpstan.neon",
"tests": "tester ./tests/test.php && phpstan analyze -c phpstan.neon"
},
"config": {
"allow-plugins": {
Expand Down
2 changes: 2 additions & 0 deletions tests/config.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
parameters:
scanDirectories:
- %rootDir%/../../../tests/testbox
paths:
- ../src

services:
errorFormatter.rawSimple:
Expand Down

0 comments on commit 00735a8

Please sign in to comment.