I added PHPUnit to a project via git submodule add per the instructions in this blog post. Everything is working beautifully, except the output at the top of each execution looks like this:
PHPUnit @package_version@ by Sebastian Bergmann.
It looks like PEAR replaces that value with the version number during its install process, which doesn’t help me much since I’m using Git to install the files.
Has anyone encountered this issue, and how did you solve/work around it?
As it happens, the project I’m working on is going to be distributed via PEAR, so I’ll just list PHPUnit as a dependency in the package.xml file. This will also allow the user some flexibility as to which version of PHPUnit she’d like to run her tests with.