I've installed PHPUnit via composer by running the following command:
composer global require "phpunit/phpunit=4.8.*"
I noticed that there is an old version of phpunit(version 3.7.21) installed which comes with xampp for Windows. I'm trying to uninstall it by running the following command:
pear uninstall phpunit/PHPUnit
which fails with the error message: unknown channel "phpunit" in phpunit/PHPUnit.
When I run phpunit -v
it shows the version as 3.7.21 and the command where phpunit
gives the following result:
How do I uninstall phpunit in xampp?