From 24ef605473cc0ee79e8bed1041ecc8ff67f86c42 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 12 Apr 2018 19:49:18 +0200 Subject: [PATCH] Clarify that #refs is root-only, fixes #7241 --- doc/04-schema.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/04-schema.md b/doc/04-schema.md index c338b4673..250b4e415 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -307,7 +307,9 @@ releases for the `doctrine/data-fixtures` package : `require` and `require-dev` additionally support explicit references (i.e. commit) for dev versions to make sure they are locked to a given state, even when you run update. These only work if you explicitly require a dev version -and append the reference with `#`. +and append the reference with `#`. This is also a +[root-only](04-schema.md#root-package) feature and will be ignored in +dependencies. Example: