Skip to content

Commit 15ca555

Browse files
committed
chore: add composer script rectify to run rector and php-cs-fixer with one command
1 parent 95ddfea commit 15ca555

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@
6464
"coverage": "phpunit -c tests/phpunit-coverage.xml.dist --coverage-html=\".phpunit.cache/code-coverage\"",
6565
"phpstan": "phpstan analyze --memory-limit 512M --configuration .phpstan.neon",
6666
"phpunit": "phpunit -c phpunit.xml.dist",
67+
"rectify": [
68+
"@rector",
69+
"@codestyle"
70+
],
6771
"rector": "rector -c .rector.php",
6872
"test": [
6973
"@phpstan",

0 commit comments

Comments
 (0)