Merge pull request #9349 from stof/patch-1

Fix the current plugin api version in the doc
main
Nils Adermann 4 years ago committed by GitHub
commit 01340ed765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,7 +39,7 @@ requirements:
The required version of the `composer-plugin-api` follows the same [rules][7]
as a normal package's.
The current Composer plugin API version is 1.1.0.
The current Composer plugin API version is `2.0.0`.
An example of a valid plugin `composer.json` file (with the autoloading
part omitted and an optional require-dev dependency on `composer/composer` for IDE auto completion):
@ -49,7 +49,7 @@ part omitted and an optional require-dev dependency on `composer/composer` for I
"name": "my/plugin-package",
"type": "composer-plugin",
"require": {
"composer-plugin-api": "^1.1"
"composer-plugin-api": "^2.0"
},
"require-dev": {
"composer/composer": "^2.0"

Loading…
Cancel
Save