How to properly require a phar file
问题 phpunit has stopped supporting PEAR installation. This has caused us to need to use the phar installation of phpunit moving forward. We have a wrapping script that iterates through many directories and calls the phpunit executable on those directories. The wrapping script then consolidates all of the generated reports into a single report. When phpunit was installed with PEAR, the only require we needed at the top of the wrapping script was require 'PHP/CodeCoverage/Autoload.php'; Then, when