Skip to content

Commit d3dc3f4

Browse files
committed
AC-1740: Add rectorphp as a dependency to magento-coding-standard
1 parent a0e4677 commit d3dc3f4

File tree

3 files changed

+131
-2
lines changed

3 files changed

+131
-2
lines changed

.github/workflows/php.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ jobs:
5858

5959
- name: Run framework suite
6060
run: vendor/bin/phpcs --standard=Magento2Framework Magento2/Helpers Magento2/Sniffs Magento2Framework/Sniffs
61+
62+
- name: Run rector
63+
run: vendor/bin/rector process --dry-run
64+
6165
js:
6266
runs-on: ubuntu-latest
6367
name: Javascript tests

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"squizlabs/php_codesniffer": "^3.6",
1313
"webonyx/graphql-php": "^14.9",
1414
"ext-simplexml": "*",
15-
"ext-dom": "*"
15+
"ext-dom": "*",
16+
"rector/rector": "^0.12.4"
1617
},
1718
"require-dev": {
1819
"phpunit/phpunit": "^9.5.8"

composer.lock

Lines changed: 125 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)