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

Specify allowed plugins for Composer 2.2 #5139

Merged
merged 1 commit into from Dec 23, 2021

Conversation

morozov
Copy link
Member

@morozov morozov commented Dec 23, 2021

Q A
Type improvement
BC Break no

Without having plugins allowed in compose.json, Composer 2.2 and newer will ask if the user trusts the plugins:

$ composer update
dealerdirect/phpcodesniffer-composer-installer contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "dealerdirect/phpcodesniffer-composer-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y
composer/package-versions-deprecated contains a Composer plugin which is currently not in your allow-plugins config. See https://getcomposer.org/allow-plugins
Do you trust "composer/package-versions-deprecated" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?] y

@morozov morozov added this to the 2.13.7 milestone Dec 23, 2021
@derrabus derrabus merged commit fb16995 into doctrine:2.13.x Dec 23, 2021
@morozov morozov deleted the composer-2.2 branch December 23, 2021 18:34
@mvorisek
Copy link
Contributor

I belive allow-plugin composer/package-versions-deprecated config is not needed in 3.3.x branch

@derrabus
Copy link
Member

@mvorisek Psalm still installs this plugin.

@mvorisek
Copy link
Contributor

@mvorisek Psalm still installs this plugin.

👍

since composer 2.2.5 not needed anywhere - composer/composer#10458

@stof
Copy link
Member

stof commented Jan 17, 2022

since composer 2.2.5

not released yet, though

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants