Symfony Process 2.4 dependency
veewee opened this issue · 6 comments
In composer.json the Symfony Process components require version 2.4 or above, but a lot of projects use Symfony 2.3 because it is an LTS release. Is it possible to downgrade component versions to ^2.3?
But you can have both symfony/symfony in 2.3.* and symfony/process in 2.4.* at the same time, right ?
=> I just tested, and yes, it's possible.
It is indeed possible to require both with composer:
{
"require": {
"symfony/symfony": "2.3",
"symfony/process": "2.4"
}
}
But the autoloader will only use on of both. When you run --optimize-autoloader with the install command, you will see that the process component will be pointed to 2.4, which might result in errors in the application.
"2.3"
would be bad, as that would get 2.3.0.0
, when you really want 2.3.x
.
The sample above was to test symfony/symfony 2.3 with symfony/process 2.4.
The actual dependency for the solution would be ^2.3 which would require >=2.3.0 <2.4
Anyway, I agree with the initial issue. If we can use "~2.3,~3.0" it could be much better
What's the verdict here?