This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The option --log-json has been removed in PHPUnit 6. Since Netbeans uses this option it's not possible to use PHPUnit 6.
And under the "Frameworks & Tools" -> PHPUnit, it requires the Skeleton Generator Script, but this is abandoned too. https://packagist.org/packages/phpunit/phpunit-skeleton-generator Please but more resources into keeping netbeans up to date.
I also encountered this same problem. I checked this incompatibility and maybe the problem belongs to class NetBeansSuite.php NetBeansSuite class extends PHPUnit_Framework_TestSuite Now, phpunit 6.2 has namespaces, like this: NetBeansSuite class extends PHPUnit \ Framework \ TestSuite Source: https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-6.0.0 I still have the impression that the NetBeansSuite.php class does not run when running the test.
It would be useful to have possibility to change arguments for phpunit command, so we would self remove/add needed arguments (such as --log-json argument that have been removed from phpunit 6*)