Skip to content

Instantly share code, notes, and snippets.

@Nick974
Created November 18, 2016 08:00
Show Gist options
  • Select an option

  • Save Nick974/745c4a77e0a7dfe1b2771442f078ba62 to your computer and use it in GitHub Desktop.

Select an option

Save Nick974/745c4a77e0a7dfe1b2771442f078ba62 to your computer and use it in GitHub Desktop.
netbeans 8.0 and PHPunit 4.8.27 bug workaround
REM
REM Fix the "unrecognized option --run" on NetBeans runing PHPUnit
REM
REM Call default phunit.bat (see line 8) with appropriated argument
REM Create this file into the directory holding phpunit.phar, phpunit.bat,...
REM
REM Default content of phpunit.bat :
REM @php "%~dp0phpunit-4.8.27.phar" %*
REM
REM Default content of phpunit-skelgen.bat :
REM @php "%~dp0phpunit-skelgen-2.0.1.phar" generate-test %3 %4 %5 %6
REM
REM
phpunit %1 %2 %3 %4 "--" %5=%6
@featuriz
Copy link

How to work with this. Provide some instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment