1
0
Fork 0

Add abandoned property in composer schema documentation

pull/7131/head
Pierre-Yves Lebecq 2018-02-22 17:02:47 +01:00
parent ef46a8afa4
commit efc744de76
1 changed files with 16 additions and 0 deletions

View File

@ -861,6 +861,22 @@ The example will include `/dir/foo/bar/file`, `/foo/bar/baz`, `/file.php`,
Optional. 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 ### non-feature-branches
A list of regex patterns of branch names that are non-numeric (e.g. "latest" or something), A list of regex patterns of branch names that are non-numeric (e.g. "latest" or something),