mirror of
https://github.com/Respect/Validation.git
synced 2024-06-04 14:52:17 +02:00
Update version constraints on composer.json file
This commit is contained in:
parent
0512ff4866
commit
867f12b8d3
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue