From e1d1a73cad3067cbd227b739029c03607048df27 Mon Sep 17 00:00:00 2001 From: Rob Date: Mon, 10 Oct 2016 10:10:06 +0200 Subject: [PATCH] Update 04-schema.md Wrap line-length and modify phrasing --- doc/04-schema.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/04-schema.md b/doc/04-schema.md index d1419431d..2f68fa67f 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -775,14 +775,15 @@ will look from the first to the last repository, and pick the first match. By default Packagist is added last which means that custom repositories can override packages from it. -Using JSON object is also allowed. However, it is discouraged because there is no explicit order of keys in JSON object. +Using JSON object notation is also possible. However, JSON key/value pairs +are to be considered unordered so consistent behaviour cannot be guaranteed. ```json { "repositories": { - "composer": { + "foo": { "type": "composer", - "url": "http://packages.example.com" + "url": "http://packages.foo.com" } } }