Skip to content

Commit 5b91b08

Browse files
committed
docs: add how to fix code with Rector
1 parent 9810218 commit 5b91b08

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)