Skip to content

Commit 174a64d

Browse files
authored
Fix "rector-cs" workflow + Add "cs-fix" script to composer.json (#145)
1 parent 7fdd329 commit 174a64d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/rector-cs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- 'tests/**'
88
- '.github/workflows/rector-cs.yml'
99
- 'composer.json'
10-
- 'rector-cs.php'
10+
- 'rector.php'
1111
- '.php-cs-fixer.dist.php'
1212

1313
permissions:

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
},
5959
"scripts": {
6060
"test": "phpunit --testdox --no-interaction",
61-
"test-watch": "phpunit-watcher watch"
61+
"test-watch": "phpunit-watcher watch",
62+
"cs-fix": "php-cs-fixer fix"
6263
}
6364
}

0 commit comments

Comments
 (0)