Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhpUnit dependency issue for PHP 7 #90

Open
ghost opened this issue Feb 4, 2017 · 1 comment
Open

PhpUnit dependency issue for PHP 7 #90

ghost opened this issue Feb 4, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 4, 2017

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.

@richdynamix
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant