Add command to run static analysis

This commit is contained in:
Andrea Marco Sartori 2023-01-11 15:58:27 +10:00
parent 1ec714ab62
commit 6ddb7fb23e

View File

@ -46,6 +46,7 @@
}, },
"scripts": { "scripts": {
"test": "pest", "test": "pest",
"static": "phpstan analyze",
"check-style": "phpcs --standard=PSR12 src", "check-style": "phpcs --standard=PSR12 src",
"fix-style": "phpcbf --standard=PSR12 src" "fix-style": "phpcbf --standard=PSR12 src"
}, },