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

PHP7 compatibility #502

Closed
JanisGruzis opened this issue Feb 17, 2016 · 1 comment
Closed

PHP7 compatibility #502

JanisGruzis opened this issue Feb 17, 2016 · 1 comment

Comments

@JanisGruzis
Copy link

I get this problem

  Problem 1
    - jms/serializer 1.1.0 requires php >=5.4.0 -> your PHP version (7.0.2) overriden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
    - jms/serializer 1.1.0 requires php >=5.4.0 -> your PHP version (7.0.2) overriden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
    - jms/serializer 1.1.0 requires php >=5.4.0 -> your PHP version (7.0.2) overriden by "config.platform.php" version (5.3.9) does not satisfy that requirement.
    - Installation request for jms/serializer == 1.1.0.0 -> satisfiable by jms/serializer[1.1.0].

Maybe PHP version in composer should be changed.

from
>=5.4.0
to
>=5.4.0|~7.0
@JanisGruzis
Copy link
Author

Ok. My bad. Had platform set in my composer file.

  "config": {
        "bin-dir": "bin",
        "platform": {
            "php": "5.3.9"
        }
    },

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

1 participant