1
0
Fork 0

Fix the current plugin api version in the doc

pull/9349/head
Christophe Coevoet 2020-10-26 12:16:11 +01:00 committed by GitHub
parent 54a537e9b3
commit 8ee3e106d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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"