chore: phpstan config

This commit is contained in:
2024-08-19 09:48:03 +03:00
parent 4b13802b54
commit 3e38a0ddac
2 changed files with 5 additions and 1 deletions

View File

@@ -22,6 +22,6 @@
"docs": "php vendor/bin/phpdoc-md generate src > docs.md",
"lint": "php vendor/bin/phpcs --standard=PSR12 src",
"lint-fix": "php vendor/bin/phpcbf --standard=PSR12 src",
"phpstan": "php vendor/bin/phpstan analyse src --level=9"
"phpstan": "php vendor/bin/phpstan analyse"
}
}

4
phpstan.neon Normal file
View File

@@ -0,0 +1,4 @@
parameters:
level: 9
paths:
- src