Skip to content

Commit 02a87a7

Browse files
committed
move phpstan config to config file
1 parent a76568b commit 02a87a7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"verify": ["@validate-syntax", "@test", "@phpstan"],
2222
"verify-syntax": "vendor/bin/parallel-lint src tests",
2323
"test": "tester -c tests/php-unix.ini tests",
24-
"phpstan": "phpstan analyze --ansi --no-progress --no-interaction --level max src"
24+
"phpstan": "phpstan analyze --ansi --no-progress --no-interaction"
2525
},
2626
"require": {
2727
"php": "^8.0",

phpstan.neon

+5
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
includes:
22
- phpstan-baseline.neon
3+
4+
parameters:
5+
level: max
6+
paths:
7+
- src

0 commit comments

Comments
 (0)