Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #37 from PrisisForks/feature/rector
Browse files Browse the repository at this point in the history
Feature/rector
  • Loading branch information
prisis committed Mar 24, 2020
2 parents e284a68 + 8efbefb commit 95d955c
Show file tree
Hide file tree
Showing 7 changed files with 3,606 additions and 1,747 deletions.
17 changes: 11 additions & 6 deletions .build/composer.json
Expand Up @@ -4,7 +4,8 @@
"prefer-stable": true,
"require": {
"narrowspark/coding-standard": "^4.0.0",
"wikimedia/composer-merge-plugin": "^1.4.1"
"wikimedia/composer-merge-plugin": "^1.4.1",
"rector/rector": "^0.7.0"
},
"extra": {
"prefetcher": {
Expand All @@ -23,11 +24,15 @@
},
"scripts": {
"changelog": "changelog-generator generate --config=\"./../.changelog\" --file --prepend",
"cs": "php-cs-fixer fix --config=\"./../.php_cs\"",
"cs:check": "php-cs-fixer fix --config=\"./../.php_cs\" --dry-run",
"phpstan": "phpstan analyse -c ./../phpstan.neon",
"cs": "php-cs-fixer fix --config=\"./../.php_cs\" --ansi",
"cs:check": "php-cs-fixer fix --config=\"./../.php_cs\" --ansi --dry-run",
"phpstan": "phpstan analyse -c ./../phpstan.neon --ansi",
"psalm": "psalm --threads=$(nproc)",
"psalm:fix": "psalm --alter --issues=all --threads=$(nproc)",
"infection": "infection --configuration=\"./../infection.json\" -j$(nproc)"
"psalm:fix": "psalm --alter --issues=all --threads=$(nproc) --ansi",
"infection": "infection --configuration=\"./../infection.json\" -j$(nproc) --ansi",
"rector-src": "rector process ../src/ --config=./rector-src.yaml --ansi --dry-run",
"rector-src:fix": "rector process ../src/ --config=./rector-src.yaml --ansi",
"rector-tests": "rector process ../tests/ --config=./rector-tests.yaml --ansi --dry-run",
"rector-tests:fix": "rector process ../tests/ --config=./rector-tests.yaml --ansi"
}
}

0 comments on commit 95d955c

Please sign in to comment.