Forráskód Böngészése

Merge pull request #722 from dbu/doc-require-dev-conflicts

explaining behaviour when require-dev conflicts with require. fix #720
Jordi Boggiano 13 éve
szülő
commit
7abfe5c541
1 módosított fájl, 10 hozzáadás és 0 törlés
  1. 10 0
      doc/04-schema.md

+ 10 - 0
doc/04-schema.md

@@ -257,6 +257,16 @@ unless those requirements can be met.
 Lists packages required for developing this package, or running
 Lists packages required for developing this package, or running
 tests, etc. They are installed if install or update is ran with `--dev`.
 tests, etc. They are installed if install or update is ran with `--dev`.
 
 
+Packages listed here and their dependencies can not overrule the resolution
+found with the packages listed in require. This is even true if a different
+version of a package would be installable and solve the conflict. The reason
+is that `install --dev` produces the exact same state as just `install`, apart
+from the additional dev packages.
+
+If you run into such a conflict, you can specify the conflicting package in
+the require section and require the right version number to resolve the
+conflict.
+
 #### conflict
 #### conflict
 
 
 Lists packages that conflict with this version of this package. They
 Lists packages that conflict with this version of this package. They