问题描述
是否有支持重构PHP代码的工具(重命名变量,提取方法,查找方法引用等)?谢谢.
Are there any tools which support refactoring PHP code (renaming variables, extracting methods, finding method references, ...)? Thank you.
推荐答案
Scisr 很简单,用于PHP的独立重构工具.
Scisr is a simple, standalone refactoring tool for PHP.
我知道这是一个老问题,但是由于它是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.
我的许多设计目标都是由于此处提到的其他项目的不足而产生的-它们与某些IDE绑定在一起,或者试图指示您的测试实践,或者需要大量的枯燥的体力劳动.我希望在Scisr中创造一个整体上更好的体验.安装和运行很简单.它试图变得聪明,但又不是聪明.它完成了我发现最适合自动化的任务.享受吧!
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!
这篇关于PHP代码重构工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!