Just download the latest version and replace the old one. It is provided from the phpunit homepage.
$ wget https://phar.phpunit.de/phpunit.phar
$ chmod +x phpunit.phar
$ sudo mv phpunit.phar /usr/local/bin/phpunit
You are in the latest version. To check the version you can use
$ phpunit --check-version
source
share