Follow-up to #2114823: Update PHPUnit to 4.x
The update to PHPUnit 4 moved the phpunit
executable to a different location:
/core/vendor/bin/phpunit
However, the update was performed on a Linux platform, so the phpunit executable installed by Composer is not the executable for Windows.
The above is just a *nix link to phpunit's main shell script:
/core/vendor/phpunit/phpunit/phpunit
...which also happens to work on Windows.
Attached patch
- fixes the phpunit script command location
- removes the error suppression for reading the JUnit XML result file, as it only hides an early error condition that blows up later on anyway.