Skip to content

Commit f4f2f8d

Browse files
committed
Fix composer-plugin-api version constraint
Date: Thu, 11 Jun 2015 14:55:49 +0100 Subject: Your Composer plugin requirements are potentially harmful From: Jordi Boggiano <j.boggiano@seld.be> To: undisclosed-recipients:; > I am sending you this email because you have a Composer Plugin on > https://packagist.org that requires the `composer-plugin-api` in > version `*` or `1.0.0`. > > Both of those are pretty dangerous: > > - `*` would mean your plugin can get loaded in any future composer > including 2.0, and will probably break. > - `1.0.0` means that your plugin will not be loaded anymore as soon as > we add functionality and bump the plugin api to 1.1+ > > The solution is simple, open your composer.json and replace that require with: > > "composer-plugin-api": "^1.0" > > Sorry for the trouble, the documentation had "1.0.0" in the plugin > example which mislead most plugin authors, but that is now fixed.
1 parent 91f9a69 commit f4f2f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99

1010
"require": {
11-
"composer-plugin-api": "1.0.0",
11+
"composer-plugin-api": "^1.0",
1212
"stecman/symfony-console-completion": "~0.3.0"
1313
},
1414

0 commit comments

Comments
 (0)