Open umpirsky opened 11 years ago
Yeah i had this before, i will fix it sometime this month.
Can you give me any hints? Why does it happens?
@umpirsky the replaceString
call needs to accept an array of changes and perform them together (a new method actually). Building patches can always only change one line. But in your case it wants to change the same line multiple times.
@beberlei Thanks.
@umpirsky I just realized, this will not work on bundles, because by using 'target-dir' - they are normally not PSR-0 in their github repository structure.
I did fix a bunch of bugs with the renaming and for a repository with PSR-0 directory structures, it should work much better now. I havened fixed the not allowing 2 changes to one line though, this might be a bit more tricky.
I get this error when I tried to fix class names on SyliusPaymentsBundle: