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

Compatibility with Composer 2.2 for composer-plugin #309

Closed
remicollet opened this issue Dec 13, 2021 · 1 comment
Closed

Compatibility with Composer 2.2 for composer-plugin #309

remicollet opened this issue Dec 13, 2021 · 1 comment
Assignees

Comments

@remicollet
Copy link
Contributor

remicollet commented Dec 13, 2021

With composer 2.2

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

If accepted, changes in compooser.json

diff --git a/composer.json b/composer.json
index 06575ebe..e22cc319 100644
--- a/composer.json
+++ b/composer.json
@@ -60,6 +60,9 @@
     "minimum-stability": "dev",
     "prefer-stable": true,
     "config": {
-        "optimize-autoloader": true
+        "optimize-autoloader": true,
+        "allow-plugins": {
+            "composer/package-versions-deprecated": true
+        }
     }
 }

@llaville llaville self-assigned this Dec 13, 2021
@llaville llaville changed the title composer/package-versions-deprecated Compatibility with Composer 2.2 for composer-plugin Dec 13, 2021
@llaville
Copy link
Owner

Info about Composer 2.2 (future) LTS: https://github.com/composer/composer/releases/tag/2.2.0-RC1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants