When you leave vim and do this:
$ php refactor.phar convert-local-to-instance-variable tests/FooServiceTest.php\
6 dependency | patch -p1
I stay in vim and simply do this: :%s/$dependency/$this->dependency/gc
And hit y a couple of times.Pros:
I dont need to install, trust and learn a new tool.
I dont have to worry if i broke somthing. Because of edge cases the tool did not handle or because I messed up the syntax.