From efc744de762f8cb8d9ae6d6d4ce22594f51a252a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Lebecq Date: Thu, 22 Feb 2018 17:02:47 +0100 Subject: [PATCH] Add abandoned property in composer schema documentation --- doc/04-schema.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/04-schema.md b/doc/04-schema.md index 9e846168a..550b5e37e 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -861,6 +861,22 @@ The example will include `/dir/foo/bar/file`, `/foo/bar/baz`, `/file.php`, Optional. +### abandoned + +Indicates whether this package has been abandoned. + +It can be boolean or a package name/URL pointing to a recommended alternative. + +Examples: + +Use `"abandoned": true` to indicates this package is abandoned. +Use `"abandoned": "monolog/monolog"` to indicates this package is abandoned and the +recommended alternative is `monolog/monolog`. + +Defaults to false. + +Optional. + ### non-feature-branches A list of regex patterns of branch names that are non-numeric (e.g. "latest" or something),