Skip to content

Commit 52fcd99

Browse files
committed
chore: setup parameters phpstan
1 parent 0d5dae8 commit 52fcd99

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"scripts": {
5757
"cs-check": "phpcs",
5858
"cs-fix": "phpcbf",
59-
"phpstan": "phpstan analyse src/ --level=max -c phpstan.neon",
59+
"phpstan": "phpstan",
6060
"rector": "rector process --dry-run",
6161
"test": "phpunit"
6262
}

phpstan.neon

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

44
parameters:
55
treatPhpDocTypesAsCertain: false
6+
level: max
7+
paths:
8+
- src

0 commit comments

Comments
 (0)