Skip to content

Commit 7eaaa42

Browse files
authored
Merge pull request #5273 from kenjis/fix-contributing/pull_request
docs: add how to fix code with Rector
2 parents 9810218 + 5b91b08 commit 7eaaa42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contributing/pull_request.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ Rector, on the other hand, can be run on the specific files you modified or adde
199199

200200
vendor/bin/rector process --dry-run path/to/file
201201

202+
If you run it without `--dry-run`, Rector will fix the code:
203+
204+
vendor/bin/rector process path/to/file
205+
202206
[1]: https://github.com/phpstan/phpstan-src
203207
[2]: https://github.com/rector/rector
204208

0 commit comments

Comments
 (0)