代码之家  ›  专栏  ›  技术社区  ›  Blair McMillan

php codebrowser未正确遵循checkstyle.xml中的路径

  •  0
  • Blair McMillan  · 技术社区  · 16 年前

    我已经准备好了 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代码嗅探器的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 &quot;/**&quot; style comments for a file comment" source="PEAR.Commenting.FileCommentSniff"/>
     </file>
    

    我搞不懂为什么phpcb会掉一半的路径。我猜这是某种形式的路径替换(基于我的源路径),它与 source 在路径中出现两次。请注意,缺少的路径部分是指定的源路径和最后一个源路径之间的位。 来源 .

    我在phpcb中发现了一个bug吗?如果是,我可以在哪里报告?我找到的最接近phpcb居住的地方是 phpUnderControl release page 不幸的是,它链接到phpunit-github中的一个断开的URL。

    1 回复  |  直到 16 年前
        1
  •  1
  •   Phil Rykoff    16 年前
    You can try to contact them at <http://www.mayflower.de/en/contact>
    
    推荐文章