When I ran 'composer install' (with --ignore-platform-reqs) I met with the error
In ParallelDownloader.php line 212:
Declaration of Symfony\Flex\ParallelDownloader::getRemoteContents($originUrl, $fileUrl, $context) should be compatible with Compos
er\Util\RemoteFilesystem::getRemoteContents($originUrl, $fileUrl, $context, ?array &$responseHeaders = NULL)
I asked google and found out that (for obvious reasons) I had to update flex but when I did composer update symfony/flex --no-plugins --no-scripts I met with the same error, what should I do?
(The error in the question led me to this page: https://github.com/symfony/flex/issues/397)
For thoose wondering, I had to follow this guide to fix the error, I lost the resource so I'd be really happy if somebody links to it: