From ca5662b1435fd6de34a6526f4852f360b37540f3 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 8 Mar 2012 01:08:13 +0100 Subject: [PATCH] Fixed the doc to use the new format for versions --- doc/02-libraries.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/02-libraries.md b/doc/02-libraries.md index d298d3a66..c38f9f7f0 100644 --- a/doc/02-libraries.md +++ b/doc/02-libraries.md @@ -118,9 +118,10 @@ We do this by adding a package repository specification to the blog's { "name": "acme/blog", - "repositories": { - "acme/hello-world": { - "vcs": { "url": "https://github.com/composer/hello-world" } + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/composer/hello-world" } }, "require": {