I installed the latest release of PHPUnit using the phar according to the documentation. I have some scripts to compile a code coverage report using the PHP_CodeCoverage
object. With the update, when I try to include phpunit.phar
phpunit is actually run. The script outputs the list of options for running PHPUnit and then exits.
How can I include the file so that I have the PHPUnit objects available in my script?
The line that I tried was
require '/usr/local/bin/phpunit.phar';