I need to install `phpunit` on Ubuntu 12.04. By doing so with the packet manager I get an error when running phpunit
PHP Fatal error: require_once(): Failed opening required 'PHP/CodeCoverage/Filter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/bin/phpunit on line 38
for which there are
solutions, i.e. to install `phpunit` with `pear`.
Following the
pear install instructions I download and run `go-pear.phar`, which itself produces an error
PHP Notice: Uninitialized string offset: 0 in phar:///home/alexander/opt/src/go-pear.phar/Console/Getopt.php on line 145
Any suggestions how to proceed from here?