【发布时间】:2011-05-01 10:57:32
【问题描述】:
我正在尝试为 php 代码嗅探器编写自定义 ruleset.xml,但从命令行调用它而不将其放入默认文件夹似乎不起作用。
Since the documentations seems to state otherwise我想问一下我这里是不是做错了
:~/$ phpcs --standard=/home/edo/custom_ruleset.xml source/
===>
ERROR: the "/home/edo/custom_ruleset.xml" coding standard is not installed.
The installed coding standards are PEAR, PHPCS, Zend, Squiz and MySource
如果这不起作用:关于如何将您自己的编码标准与您的源代码一起提供的任何建议?谢谢
【问题讨论】:
标签: php codesniffer phpundercontrol