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

Fixes Fatal Error: Declaration of Symfony\Flex\ParallelDownloader #876

Closed

Conversation

silentgecko
Copy link

Fatal Error: Declaration of Symfony\Flex\ParallelDownloader::copy must be compatible with Composer\Util\RemoteFilesystem::copy

Add return types to be compatible with composer changes

Newest version of composer added return types to these functions (@see composer/composer@a16ed3d). Now you get Fatal Errors when using new composer:
Declaration of Symfony\Flex\ParallelDownloader::copy($originUrl, $fileUrl, $fileName, $progress = true, $options = Array) must be compatible with Composer\Util\RemoteFilesystem::copy($originUrl, $fileUrl, $fileName, $progress = true, $options = Array): bool

…py must be compatible with Composer\Util\RemoteFilesystem::copy

Add return types to be compatible with composer changes

Newest version of composer added return types to these functions (@see composer/composer@a16ed3d). Now you get Fatal Errors when using new composer:
Declaration of Symfony\Flex\ParallelDownloader::copy($originUrl, $fileUrl, $fileName, $progress = true, $options = Array) must be compatible with Composer\Util\RemoteFilesystem::copy($originUrl, $fileUrl, $fileName, $progress = true, $options = Array): bool
@nicolas-grekas
Copy link
Member

Duplicate of #874 ;)

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

Successfully merging this pull request may close these issues.

2 participants