magestead
magestead copied to clipboard
PhpUnit dependency issue for PHP 7
Hey,
composer global require "richdynamix/magestead"
Using version ^2.2 for richdynamix/magestead
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- phpunit/phpunit 4.8.20 requires php ~5.3.3|~5.4|~5.5|~5.6 -> your PHP version (7.0.9) does not satisfy that requirement.
- Conclusion: don't install richdynamix/magestead 2.2.2
- Conclusion: don't install richdynamix/magestead 2.2.1
- Conclusion: remove phpunit/php-code-coverage 4.0.5
- Installation request for richdynamix/magestead ^2.2 -> satisfiable by richdynamix/magestead[2.2, 2.2.1, 2.2.2].
- Conclusion: don't install phpunit/php-code-coverage 4.0.5
My specs :
PHP 7.0.9 (cli) (built: Jul 21 2016 14:50:47) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
Why are you requiring such an old version of phpunit ? They've released version 6 the other day, dropping support for php 5.6.
Submitted a PR #91 to resolve this issue. Please note the highest PHPUnit version we can go to at the moment is 5.7 as it still supports PHP5.6 Feel free to checkout that PR and test.