1
0
Fork 0

Fix typos/wording

pull/1648/merge
Jordi Boggiano 2013-04-27 17:51:05 +02:00
parent 5806770a81
commit 062b05d37d
1 changed files with 7 additions and 6 deletions

View File

@ -53,23 +53,24 @@ This is a list of common pitfalls on using Composer, and how to avoid them.
Use: `before_script: COMPOSER_ROOT_VERSION=dev-master composer install` to export Use: `before_script: COMPOSER_ROOT_VERSION=dev-master composer install` to export
the variable for the call to composer. the variable for the call to composer.
## Need to override package version ## Need to override a package version
Let say your project depends on package A which in turn depends on a spesific version of Let say your project depends on package A which in turn depends on a specific
package B (say 0.1) and you need a different version of that package - version 0.11. version of package B (say 0.1) and you need a different version of that
package - version 0.11.
You fix this by renaming version 0.11 as 0.1: You can fix this by aliasing version 0.11 to 0.1:
composer.json: composer.json:
{ {
name: "My project",
require: { require: {
"A": "0.2", "A": "0.2",
"B": "0.11 as 0.1" "B": "0.11 as 0.1"
} }
} }
Also, se [aliases](aliases.md) for more information. See [aliases](aliases.md) for more information.
## Memory limit errors ## Memory limit errors