Skip to content

Commit

Permalink
Update 04-schema.md
Browse files Browse the repository at this point in the history
Wrap line-length and modify phrasing
  • Loading branch information
alcohol committed Oct 10, 2016
1 parent dbc5d3a commit e1d1a73
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/04-schema.md
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit e1d1a73

Please sign in to comment.