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

Can`t update to latest #265

Closed
urbels opened this issue Dec 9, 2016 · 3 comments
Closed

Can`t update to latest #265

urbels opened this issue Dec 9, 2016 · 3 comments

Comments

@urbels
Copy link

urbels commented Dec 9, 2016

git pull
composer install

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for phpunit/php-code-coverage 3.2.0 -> satisfiable by phpunit/php-code-coverage[3.2.0].
- phpunit/php-code-coverage 3.2.0 requires php >=5.6 -> your PHP version (5.5.9) does not satisfy that requirement.
Problem 2
- Installation request for phpunit/phpunit 5.2.5 -> satisfiable by phpunit/phpunit[5.2.5].
- phpunit/phpunit 5.2.5 requires php >=5.6 -> your PHP version (5.5.9) does not satisfy that requirement.
Problem 3
- Installation request for phpunit/phpunit-mock-objects 3.0.6 -> satisfiable by phpunit/phpunit-mock-objects[3.0.6].
- phpunit/phpunit-mock-objects 3.0.6 requires php >=5.6 -> your PHP version (5.5.9) does not satisfy that requirement.
Problem 4
- Installation request for sebastian/code-unit-reverse-lookup 1.0.0 -> satisfiable by sebastian/code-unit-reverse-lookup[1.0.0].
- sebastian/code-unit-reverse-lookup 1.0.0 requires php >=5.6 -> your PHP version (5.5.9) does not satisfy that requirement.
Problem 5
- Installation request for sebastian/resource-operations 1.0.0 -> satisfiable by sebastian/resource-operations[1.0.0].
- sebastian/resource-operations 1.0.0 requires php >=5.6.0 -> your PHP version (5.5.9) does not satisfy that requirement.
Problem 6
- Installation request for sebastian/version 2.0.0 -> satisfiable by sebastian/version[2.0.0].
- sebastian/version 2.0.0 requires php >=5.6 -> your PHP version (5.5.9) does not satisfy that requirement.

I can fix this only by updating php?

@cydrobolt
Copy link
Owner

cydrobolt commented Dec 9, 2016

You should be able to upgrade PHP to fix this. However, try composer install --no-dev -o
That should skip phpunit, which isn't required to run Polr.

If you're on 5.5.9, you might want to hold off a bit or upgrade your PHP version, though. There is currently an open bug that affects version 5.5.9 that needs to be fixed. #264

You can revert to a previous commit with git checkout

@cydrobolt
Copy link
Owner

@urbels I've released a patch for 2.1.0 in 2.1.1 to solve the class constant error. If you upgrade to 2.1.1 and run composer install --no-dev -o, you should be good to go :)

@urbels
Copy link
Author

urbels commented Dec 10, 2016

Thanks man!

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

No branches or pull requests

2 participants