I use macOs Mojave, MAMP (php 7.1.2) and lately I tried phpUnit, currently running v6.1.1.
I think I need to update phpUnit to v7, since I'm using php7.1.2.
I installed phpUnit via composer. Here some details about the current installation:
phpunit --version PHPUnit 6.1.1 by Sebastian Bergmann and contributors.
which phpunit /usr/local/bin/phpunit
When I try to update, nothing happens:
composer require --dev phpunit/phpunit ^7
./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files
--version PHPUnit 6.1.1 by Sebastian Bergmann and contributors.
Still Version 6.1.1
What am I doing wrong?
Best regards Beat