dtjpz48440 2014-09-30 12:36
浏览 31
已采纳

Netbeans 8.0.1 PHPUnity Generator

I tryed install phpunit with netbeans and the installation done correctly! But, when a try generate the phpunit class, the follow error occurred: "The referenced parameter '--ansi' is not registered." and the file was not generated.

Anyone have any idea about this?

  • 写回答

1条回答 默认 最新

  • dtmjqyfz21793 2014-10-06 18:22
    关注

    It happened the same to me. It seems that we were using the old phpunit-skelgen 1.2.1 version. Apparently, NetBeans 8.0.1 assumes you are using the newest version of phpunit-skelgen, that is 2.0.1.

    So, you only have to update the phpunit-skelgen version, for example using this: https://phar.phpunit.de/phpunit-skelgen.phar

    I copied that file to where I had my previous phpunit-skelgen.bat files: C:\xampp\php. Of course, this may vary according to your OS or your project structure.

    After that, configure NetBeans to use the downloaded file instead of the old file. Something around Tools > Options in Netbeans menu.

    Hope this helps!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 Centos / PETSc / PETGEM