소스 검색

Merge pull request #1291 from igorw/inline-alias-doc

Link to the aliases article from schema and repositories docs
Jordi Boggiano 12 년 전
부모
커밋
77220b380c
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.