Quellcode durchsuchen

Merge pull request #406 from stof/outdated_doc

Fixed the doc to use the new format for versions
Jordi Boggiano vor 13 Jahren
Ursprung
Commit
d4171abd09
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  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",
         "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": {
         "require": {