composer: Add scripts for development

(cherry picked from commit c5407ec07c, except for rector)
This commit is contained in:
Jan Tojnar
2025-02-23 02:16:17 +01:00
parent ae87c8ca8c
commit 66864279fd
+5
View File
@@ -42,5 +42,10 @@
}, },
"autoload-dev": { "autoload-dev": {
"psr-4": { "Tests\\Readability\\": "tests/" } "psr-4": { "Tests\\Readability\\": "tests/" }
},
"scripts": {
"fix": "php-cs-fixer fix --verbose --diff",
"phpstan": "phpstan analyze --memory-limit 512M",
"test": "simple-phpunit -v"
} }
} }