浏览代码

Clarify that #refs is root-only, fixes #7241

Jordi Boggiano 7 年之前
父节点
当前提交
24ef605473
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      doc/04-schema.md

+ 3 - 1
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 `#<ref>`.
+and append the reference with `#<ref>`. This is also a
+[root-only](04-schema.md#root-package) feature and will be ignored in
+dependencies.
 
 Example: