From 8ee3e106d8fd03febff83f84041c5965f3cb85f9 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 26 Oct 2020 12:16:11 +0100 Subject: [PATCH] Fix the current plugin api version in the doc --- doc/articles/plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/articles/plugins.md b/doc/articles/plugins.md index e9a7b7a5f..5242ef7ca 100644 --- a/doc/articles/plugins.md +++ b/doc/articles/plugins.md @@ -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"