I ran this command to install globally PHPUnit:
composer global require \'phpunit/phpunit=3.7.*\'
Now I want to uninstall globally
Also you can use another way
cd $HOME/.config/composer
And in composer.json file remove some require positions
composer.json
After all execute composer update This is a long way, but more clear
composer update