我已经设置了phpUnderControl,它工作得很好,除了有几个项目在PHP-CodeBrowser选项卡中没有得到任何输出。
如果我手动运行该命令,我会得到:
phpcb --log projects/devvo/build/logs --source projects/devvo/source --output projects/devvo/build/php-code-browser
Generating PHP_CodeBrowser files
PHP-CodeBrowser Error:
File projects/devvo/source/CLV2/webroot/maintenance.php does not exist!
Script took 2.64733099937 seconds to execute我可以跟踪到PHP-CodeSniffer的checkstyle.xml输出中。它包含:
<file name="/opt/cruisecontrol-bin-2.8.3/projects/devvo/source/modules/project-creator/source/CLV2/webroot/maintenance.php">
<error line="2" column="1" severity="error" message="You must use "/**" style comments for a file comment" source="PEAR.Commenting.FileCommentSniff"/>
</file>我搞不懂的是为什么phpcb会丢弃一半的路径。我猜这是某种形式的路径替换(基于我的--源路径),因为source在路径中出现了两次。请注意,缺少的路径部分是指定的源路径和最后一个source之间的位。
我在phpcb中发现错误了吗?如果是这样,我可以在哪里报告它?我找到的最接近phpcb位置的链接是phpUnderControl release page上的链接,不幸的是,它链接到了phpUnit github中一个坏掉的网址。
发布于 2010-03-02 20:35:56
You can try to contact them at <http://www.mayflower.de/en/contact>https://stackoverflow.com/questions/2274307
复制相似问题