Skip to content

Commit 0e6a7b7

Browse files
committed
📦 Fulfill phpstan config to improve DX
1 parent dd402ec commit 0e6a7b7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"doctrine/coding-standard": "^11.1|^12.0"
3131
},
3232
"scripts": {
33-
"phpstan": "phpstan analyse src/ -c phpstan.neon --level=7 --no-progress",
33+
"phpstan": "phpstan analyse --no-progress",
3434
"cs-check": "phpcs",
3535
"cs-fix": "phpcbf",
3636
"test": ["@cs-check", "@phpstan", "phpunit"]

phpstan.neon

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
parameters:
2+
level: 7
3+
4+
paths:
5+
- src
6+
27
ignoreErrors:
38

49
excludePaths:
@@ -7,4 +12,4 @@ parameters:
712
- .phpstan-cache
813

914
#includes:
10-
# - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
15+
# - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon

0 commit comments

Comments
 (0)