Is it possible that the changed code for fluent function-calls more human readable #4205
Replies: 5 comments
-
If you are looking for a solution that you can use in combination with --dry-run. There is none. But you could do the following:
You should now be able to comfortable see what changes where made by looking at the commit summary |
Beta Was this translation helpful? Give feedback.
-
This has been asked 1000 times already. Rector is a code migration tool and not a code beautifier. Use other tools to format your code. |
Beta Was this translation helpful? Give feedback.
-
If I do not use fluent calls the rector changes are very better: |
Beta Was this translation helpful? Give feedback.
-
You can find reproduceable repo here https://github.com/hdietrich-timespin/typo3-rector-testrepo/tree/bug_issues_4196. You can start rector process with:
|
Beta Was this translation helpful? Give feedback.
-
Is it possible that the changed code more human readable is like that:
rector changes is very complicate, horrible and have to much redundancy code:
unformatted changes:
I formatted changes manually for human readability:
Beta Was this translation helpful? Give feedback.
All reactions