ソースを参照

Merge pull request #406 from stof/outdated_doc

Fixed the doc to use the new format for versions
Jordi Boggiano 13 年 前
コミット
d4171abd09
1 ファイル変更4 行追加3 行削除
  1. 4 3
      doc/02-libraries.md

+ 4 - 3
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": {