Skip to content

Commit ffc4388

Browse files
committed
Move phpstan settings to config file
1 parent ef9c99f commit ffc4388

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@cs",
4545
"@phpstan"
4646
],
47-
"phpstan": "vendor/bin/phpstan analyze ./src ./tests -c phpstan.neon --ansi --level 7",
47+
"phpstan": "vendor/bin/phpstan analyze -c phpstan.neon --ansi",
4848
"tests": "vendor/bin/phpunit",
4949
"tests-ci": "mkdir -p reports && php -dxdebug.coverage_enable=1 vendor/bin/phpunit -c phpunit.xml.dist",
5050
"cs": "vendor/bin/ecs check --ansi src/ tests/",

phpstan.neon

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

0 commit comments

Comments
 (0)