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

Fix handling of replaced packages #219

Merged
merged 1 commit into from
Feb 11, 2023
Merged

Fix handling of replaced packages #219

merged 1 commit into from
Feb 11, 2023

Conversation

nicolas-grekas
Copy link
Collaborator

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets fixes #213 (comment)
Documentation -
License MIT

Solves https://stackoverflow.com/questions/75414421/is-php-http-discovery-plugin-1-15-1-still-breaking-composer-install-in-contao-4 by taking care of "replace" rules in installed packages.

@nicolas-grekas nicolas-grekas merged commit 6c0e276 into 1.x Feb 11, 2023
@nicolas-grekas nicolas-grekas deleted the fix-replace branch February 11, 2023 08:27
@amenk
Copy link

amenk commented Feb 11, 2023

Confirmed working. Thank you :-)

@vahidalvandi
Copy link

also i have error

php-http/discovery contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe.
You can run "composer config --no-plugins allow-plugins.php-http/discovery [true|false]" to enable it (true) or disable it explicitly and suppress this
exception (false)
See https://getcomposer.org/allow-plugins

@dbu
Copy link
Contributor

dbu commented May 31, 2023

@vahidalvandi this is no error, but an information. and the information explains you what you can do to not see the message anymore, as well as a link to the composer information on what plugins are.

the plugin would automatically install a suitable PSR-7/PSR-17/PSR-18 implementation if one is required but none explicitly selected by your application.

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.

1.15.0 breaks CI pipelines
4 participants