Are there any tools which support refactoring PHP code (renaming variables, extracting methods, finding method references, ...)? Thank you.
Scisr is a simple, standalone refactoring tool for PHP.
I know this is an old question, but since it's one of the best rundowns of PHP refactoring tools, I thought I would add my new project to the list.
A lot of my design goals sprung out of the inadequacies of other items mentioned here - they are tied into certain IDEs, or try to dictate your testing practices, or require a whole bunch of rote manual labor. I am hoping to create an overall better experience in Scisr. It's simple to install and run. It tries to be clever, but not too clever. It does the tasks that I have found to lend themselves best to automation. Enjoy!