From c779570bb72b6f92e434d05192c319253c8ab89c Mon Sep 17 00:00:00 2001 From: SvenRtbg Date: Wed, 3 Apr 2024 10:50:28 +0200 Subject: [PATCH] Update keywords documentation (#11905) --- doc/04-schema.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/04-schema.md b/doc/04-schema.md index c4dca5027..bae038fc0 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -126,6 +126,11 @@ Examples: > `--dev` option to prompt users if they would like to add these packages to > `require-dev` instead of `require`. These are: `dev`, `testing`, `static analysis`. +> **Note**: The range of characters allowed inside the string is restricted to +> unicode letters or numbers, space `" "`, dot `.`, underscore `_` and dash `-`. (Regex: `'{^[\p{N}\p{L} ._-]+$}u'`) +> Using other characters will emit a warning when running `composer validate` and +> will cause the package to fail updating on Packagist.org. + Optional. ### homepage