From d58a788485204ffd0fd0d5b0c53bbfdf7b42acf2 Mon Sep 17 00:00:00 2001 From: Stephen Beemsterboer Date: Mon, 18 Jan 2016 21:34:55 -0500 Subject: [PATCH] Clarify "path" repository type version requirement --- doc/05-repositories.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/05-repositories.md b/doc/05-repositories.md index 7541f2a22..7bd3d1fe8 100644 --- a/doc/05-repositories.md +++ b/doc/05-repositories.md @@ -639,6 +639,11 @@ file, you can use the following configuration: } ``` +If the package is a local VCS repository, the version may be inferred by +the branch or tag that is currently checked out. Otherwise, the version should +be explicitly defined in the package's `composer.json` file. If the version +cannot be resolved by these means, it is assumed to be `dev-master`. + The local package will be symlinked if possible, in which case the output in the console will read `Symlinked from ../../packages/my-package`. If symlinking is _not_ possible the package will be copied. In that case, the console will