-
-
Notifications
You must be signed in to change notification settings - Fork 196
Imcompatible declaration of Symfony\Flex\ParallelDownloader::getRemoteContents(...) #397
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
Comments
Correct, you need to upgrade Flex. |
I don't think there is any other way around. You might need to run |
Duh. Somehow missed the Flex update. Sorry about that. |
What about environments where composer is out of your control? For example, I'm getting my CircleCI builds failing because of this |
The composer.lock is yours: you should ensure it references an updated flex version. |
So, this is my current situation: build before running "composer update" was fine, build after is broken (with above error). Since I can't update composer inside build image, what can I do? I'd prefer to avoid to keep an old version of vendors |
The issue is independent from Composer there is no need to update or downgrade it. |
I thought it was related to recently published composer 1.7, as I read in the aforementioned issue. |
Hi ! I've got exactly the same problem. I saw that composer had an upgrade the 2018-08-03, does anyone know how to downgrade it ? I think that this can solve the problem |
I tried a build without cache and it works. So it looks like my issue was with CircleCi |
try |
The problem is that i use composer in docker so i can't update symfony/flex because i've got no composer.json before i build the image. |
docker-compose exec or if You build it manually in Dockerfile write line |
Hi, I've got the same error in CircleCI only. I correct all by
|
I needed to clear Travis cache too. |
Updating the package is necessary in order to be able to install them via the latest version of composer (1.7.2). With the previously installed package we got an "Imcompatible declaration" conflict between Symfony flex and composer. symfony/flex#397
Updating the package is necessary in order to be able to install them via the latest version of composer (1.7.2). With the previously installed package we got an "Imcompatible declaration" conflict between Symfony flex and composer. symfony/flex#397 As a bonus I tried to use as many stable packages as possible. The default installed package is now also set to stable.
'composer install' was not working because of this issue: symfony/flex#397
Hi,
Looks like a breaking change was introduced a couple hours ago in composer (link), which gives the following error:
Cheers
The text was updated successfully, but these errors were encountered: