We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c8efb commit 11d4d3fCopy full SHA for 11d4d3f
composer.json
@@ -17,7 +17,8 @@
17
},
18
"require-dev": {
19
"phpunit/phpunit": "^7|^9",
20
- "squizlabs/php_codesniffer": "^3.5"
+ "squizlabs/php_codesniffer": "^3.5",
21
+ "phpstan/phpstan": "^1.4"
22
23
"autoload": {
24
"psr-4": {
@@ -31,6 +32,7 @@
31
32
33
"scripts": {
34
"test": "phpunit",
35
+ "analyse": "vendor/bin/phpstan analyse src tests --level=4",
36
"check-style": "phpcs -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
37
"fix-style": "phpcbf -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
38
0 commit comments