I globally installed PHPUnit 5.1 using the PHAR:
wget https://phar.phpunit.de/phpunit.phar chmod +x phpunit.phar sudo mv phpunit.phar /usr/local/bin/phpunit
Here's the message I get when I run
This version of PHPUnit requires PHP 5.6; using the latest version of PHP is highly recommended.
I now realise PHPUnit 5.1 requires PHP 5.6 (14.04 has PHP up to 5.5.9 only). I'm using PHP 5.5.9 and don't want to upgrade to the next version.
How can I completely remove PHPUnit 5.1? My aim is to then use the old version of PHPUnit (4.8).