Skip to content

Commit 52f43bf

Browse files
chore(rector): add composer rector scripts
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent af62ddd commit 52f43bf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './3rdparty/*' -not -path './vendor-bin/*' -not -path './node_modules/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
2323
"cs:check": "php-cs-fixer fix --dry-run --diff",
2424
"cs:fix": "php-cs-fixer fix",
25+
"rector:check": "rector --dry-run",
26+
"rector:fix": "rector",
2527
"openapi": "generate-spec --verbose && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')",
2628
"psalm": "psalm --no-cache --threads=$(nproc)",
2729
"psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline --set-baseline=tests/psalm-baseline.xml",

0 commit comments

Comments
 (0)