Skip to content

Commit e6a1b88

Browse files
committed
🔧 Correct PHPStan configuration
1 parent 6b96629 commit e6a1b88

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
},
3131
"scripts": {
32-
"phpstan": "phpstan analyse src tests --configuration phpstan.neon --memory-limit=2G",
32+
"phpstan": "phpstan analyse --configuration phpstan.neon --memory-limit=2G",
3333
"test": "phpunit",
3434
"lint": "phpcs",
3535
"lint:fix": "phpcbf"

phpstan.neon

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ includes:
33

44
parameters:
55
level: max
6+
paths:
7+
- main.php
8+
- src/
9+
- phpunit-tests/
610
excludePaths:
7-
- tests/
8-
- phpunit-tests/data
11+
- phpunit-tests/data/

0 commit comments

Comments
 (0)