瀏覽代碼

Link to the aliases article from schema and repositories docs

Closes #1179.
Igor Wiedler 12 年之前
父節點
當前提交
f089521919
共有 2 個文件被更改,包括 8 次插入0 次删除
  1. 4 0
      doc/04-schema.md
  2. 4 0
      doc/05-repositories.md

+ 4 - 0
doc/04-schema.md

@@ -281,6 +281,10 @@ Example:
         }
     }
 
+It is possible to inline-alias a package constraint so that it matches a
+constraint that it otherwise would not. For more information [see the
+aliases article](articles/aliases.md).
+
 #### require
 
 Lists packages required by this package. The package will not be installed

+ 4 - 0
doc/05-repositories.md

@@ -190,6 +190,10 @@ Example assuming you patched monolog to fix a bug in the `bugfix` branch:
 When you run `php composer.phar update`, you should get your modified version
 of `monolog/monolog` instead of the one from packagist.
 
+It is possible to inline-alias a package constraint so that it matches a
+constraint that it otherwise would not. For more information [see the
+aliases article](articles/aliases.md).
+
 #### Git alternatives
 
 Git is not the only version control system supported by the VCS repository.