Fix Composer version constraint

“~1.0.*” results in a Composer throwing an UnexpectedValueException
This commit is contained in:
Carsten Blüm 2015-12-11 09:35:50 +01:00
parent ac36fb29d5
commit 13fbe3e2dd

View file

@ -20,7 +20,7 @@ Simply add the following dependency to your projects composer.json file:
```js ```js
"require-dev": { "require-dev": {
// ... // ...
"andres-montanez/magallanes": "~1.0.*" "andres-montanez/magallanes": "~1.0"
// ... // ...
} }
``` ```
@ -39,7 +39,7 @@ $ bin/mage version
### System-wide installation with composer ### ### System-wide installation with composer ###
```bash ```bash
$ composer global require "andres-montanez/magallanes=~1.0.*" $ composer global require "andres-montanez/magallanes=~1.0"
``` ```
Make sure you have ~/.composer/vendor/bin/ in your path. Make sure you have ~/.composer/vendor/bin/ in your path.