O
O
Outsider V.2017-07-06 19:55:05
symfony
Outsider V., 2017-07-06 19:55:05

How to install Doctrine 2.6?

I'm trying to install Doctrine 2.6 on Symfony 3.4. Registered:

"require": {
        "doctrine/orm": "^2.6-dev",

When I try to update it says:
Problem 1
- Installation request for doctrine/orm ^2.6-dev -> satisfiable by doctrine/orm[2.6.x-dev].
- doctrine/orm 2.6.x-dev requires php ^7.1 -> your PHP version (7.1.5) overridden by "config.platform.php" version (5.5.9) does not satisfy that requirement.

What kind of nonsense? As far as I know, ^7.1 means >7.1 and <8.0 , 7.1.5 version should be fine. How to bypass this garbage?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nurlan, 2017-07-06
@Audiophile

Everything is in the text. You have a different version in your config.
https://github.com/symfony/symfony-standard/issues/858
https://github.com/symfony/symfony-installer/pull/236

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question