From 1d66852c6e8981ebf86565fb33fbf24d14dcb16a Mon Sep 17 00:00:00 2001 From: Alex Mersdorf Date: Mon, 10 Jul 2017 14:27:01 +0200 Subject: [PATCH 1/2] Update 04-schema.md Added line to try and clarify, that any dev/non-minimum-stability Requirement needs to be added to root composer.json as well. --- doc/04-schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/04-schema.md b/doc/04-schema.md index 126fe2e0c..97f76fbea 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -290,7 +290,7 @@ If one of your dependencies has a dependency on an unstable package you need to explicitly require it as well, along with its sufficient stability flag. Example: - +"doctrine/doctrine-fixtures-bundle" requires "doctrine/data-fixtures":"dev-master" so inside the root-composer.json you need: ```json { "require": { From 474834e8a993106c3f05dd56b28645ff75679250 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 7 Aug 2017 10:57:15 +0200 Subject: [PATCH 2/2] Wording tweaks --- doc/04-schema.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/04-schema.md b/doc/04-schema.md index 97f76fbea..e8b164224 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -290,7 +290,11 @@ If one of your dependencies has a dependency on an unstable package you need to explicitly require it as well, along with its sufficient stability flag. Example: -"doctrine/doctrine-fixtures-bundle" requires "doctrine/data-fixtures":"dev-master" so inside the root-composer.json you need: + +Assuming `doctrine/doctrine-fixtures-bundle` requires `"doctrine/data-fixtures": "dev-master"` +then inside the root composer.json you need to add the second line below to allow dev +releases for the `doctrine/data-fixtures` package : + ```json { "require": {