I've set up phpUnderControl and it's all working very well, except that for a few projects that I have aren't getting any output in the PHP-CodeBrowser tab.
If I run the command manually I get:
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
Which I can track into the checkstyle.xml output of PHP-CodeSniffer. It contains:
<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>
What I can't work out is why phpcb is dropping half of the path. I'm guessing that it's some form of path replacement (based on my --source path) having issues with the fact that source
appears in the path twice. Note that the section of the path that is missing is the bit between the source path specified and the last source
.
Have I found a bug in phpcb? If so, where can I report it? The closest I have found to where phpcb lives is the link on the phpUnderControl release page which unfortunately links to a broken URL in the phpUnit github.
You can try to contact them at <http://www.mayflower.de/en/contact>