Update version constraints on composer.json file

This commit is contained in:
Henrique Moody 2016-11-05 13:25:01 +01:00
parent 0512ff4866
commit 867f12b8d3
No known key found for this signature in database
GPG key ID: 221E9281655813A6
6 changed files with 15 additions and 13 deletions

View file

@ -8,6 +8,8 @@ cache:
matrix:
include:
- php: 7.0
env: COMPOSER_ARGUMENTS="--prefer-lowest --prefer-stable"
- php: 7.0
- php: 7.1
- php: nightly
@ -16,18 +18,18 @@ matrix:
fast_finish: true
before_script:
- composer install --prefer-dist
- composer update --prefer-dist ${COMPOSER_ARGUMENTS}
script:
- vendor/bin/phpunit --configuration phpunit.xml.dist --colors --coverage-clover=coverage.clover
- |
if [[ "${TRAVIS_PHP_VERSION}" == "7.0" ]]; then
if [[ "${TRAVIS_PHP_VERSION}" == "7.1" ]]; then
vendor/bin/docheader check library tests
fi
after_script:
- |
if [[ "${TRAVIS_PHP_VERSION}" == "7.0" ]]; then
if [[ "${TRAVIS_PHP_VERSION}" == "7.1" ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi

View file

@ -16,13 +16,13 @@
"symfony/polyfill-mbstring": "^1.2"
},
"require-dev": {
"egulias/email-validator": "~2.1",
"malkusch/bav": "~1.0",
"mikey179/vfsStream": "^1.5",
"phpunit/phpunit": "~5.3",
"egulias/email-validator": "^2.0",
"malkusch/bav": "^1.1",
"malukenho/docheader": "^0.1.4",
"mikey179/vfsStream": "^1.6",
"phpunit/phpunit": "^5.6",
"symfony/validator": "~2.6.9",
"zendframework/zend-validator": "~2.3",
"malukenho/docheader": "^0.1.4"
"zendframework/zend-validator": "^2.0"
},
"suggest": {
"ext-bcmath": "Arbitrary Precision Mathematics",

View file

@ -11,7 +11,7 @@ v::bank("de")->validate("12345"); // false
These country codes are supported:
* "de" (Germany) - You must add `"malkusch/bav": "~1.0"` to your `require` property on composer.json file.
* "de" (Germany): Respect\Validation supports version >=1.1.0 of "malkusch/bav" for this rule.
***
See also:

View file

@ -11,7 +11,7 @@ v::bankAccount("de", "70169464")->validate("1234"); // false
These country codes are supported:
* "de" (Germany) - You must add `"malkusch/bav": "~1.0"` to your `require` property on composer.json file.
* "de" (Germany): Respect\Validation supports version >=1.1.0 of "malkusch/bav" for this rule.
***
See also:

View file

@ -11,7 +11,7 @@ v::bic("de")->validate("VZVDDED1"); // true
Theses country codes are supported:
* "de" (Germany) - You must add `"malkusch/bav": "~1.0"` to your `require` property on composer.json file.
* "de" (Germany): Respect\Validation supports version >=1.1.0 of "malkusch/bav" for this rule.
***
See also:

View file

@ -9,7 +9,7 @@ are preserved.
v::zend('Hostname')->validate('google.com');
```
You must add `"zendframework/zend-validator": "~2.3"` to your `require` property on composer.json file.
Respect\Validation supports version >=2.0.3 of Zend\Validator.
***
See also: