php-refactoring-browser, PHP的命令行 重构工具
- 源代码名称:php-refactoring-browser
- 源代码网址:http://www.github.com/QafooLabs/php-refactoring-browser
- php-refactoring-browser源代码文档php-refactoring-browser源代码下载
- Git URL:
-
git://www.github.com/QafooLabs/php-refactoring-browser.git
- Git Clone代码到本地:
git://www.github.com/QafooLabs/php-refactoring-browser.git -
git clone http://www.github.com/QafooLabs/php-refactoring-browser
- Subversion代码到本地:
git clone http://www.github.com/QafooLabs/php-refactoring-browser -
$ svn co --depth empty http://www.github.com/QafooLabs/php-refactoring-browser
Checked out revision 1.
$ cd repo
$ svn up trunk
$ svn co --depth empty http://www.github.com/QafooLabs/php-refactoring-browser
Checked out revision 1.
$ cd repo
$ svn up trunk Note: This software is under development and in alpha state. Refactorings
do not contain all necessary pre-conditions and might mess up your code.
Check the diffs carefully before applying the patches.
通过生成描述重构步骤的差异来自动重构PHP代码。 为了防止重构过程中出现简单错误,自动化工具是一个很好的工具。
参见action中的提取方法的截图。
图书馆正站在巨人的肩膀上,使用多个现存的图书馆:
- PHP解析器 Nikic
根据来自这些源的数据重构浏览器由两个不同的组件组成:
Patches允许基于文件上的更改操作生成补丁。Refactoring包含实际的重构域和第三方库的适配器。Collections在PHP数组之上添加一些集合语义。 当前包含一个集合类型。
php-refactoring-browser是一款PHP命令行重构工具,它通过生成描述重构步骤的差异来自动重构PHP代码,旨在减少重构过程中的错误。该工具目前处于开发初期阶段,用户在应用补丁前需仔细检查差异。

1783

被折叠的 条评论
为什么被折叠?



