1
0
Fork 0

Update 04-schema.md

Wrap line-length and modify phrasing
pull/5775/head
Rob 2016-10-10 10:10:06 +02:00 committed by GitHub
parent dbc5d3a83f
commit e1d1a73cad
1 changed files with 4 additions and 3 deletions

View File

@ -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"
}
}
}