diff --git a/composer.json b/composer.json index 1689b35..d93d8a7 100644 --- a/composer.json +++ b/composer.json @@ -13,11 +13,11 @@ "require": { "php": "^7.0", "respect/validation": "^1.1", - "symfony/options-resolver": "^3.4" + "symfony/options-resolver": "^3.3" }, "require-dev": { "phpunit/phpunit": "^6.4", - "symfony/var-dumper": "^3.4" + "symfony/var-dumper": "^3.3" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 6aef9ed..15b4bdf 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "8d346e6b5be070f5cd7da59ceeb397ef", + "content-hash": "a68b8d2f07f7a575bbc75a37802ea6c8", "packages": [ { "name": "respect/validation", @@ -186,7 +186,7 @@ "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.0.5", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", @@ -539,16 +539,16 @@ }, { "name": "phpspec/prophecy", - "version": "1.7.3", + "version": "1.7.4", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf" + "reference": "9f901e29c93dae4aa77c0bb161df4276f9c9a1be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", - "reference": "e4ed002c67da8eceb0eb8ddb8b3847bb53c5c2bf", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/9f901e29c93dae4aa77c0bb161df4276f9c9a1be", + "reference": "9f901e29c93dae4aa77c0bb161df4276f9c9a1be", "shasum": "" }, "require": { @@ -560,7 +560,7 @@ }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" }, "type": "library", "extra": { @@ -598,7 +598,7 @@ "spy", "stub" ], - "time": "2017-11-24T13:59:53+00:00" + "time": "2018-02-11T18:49:29+00:00" }, { "name": "phpunit/php-code-coverage", diff --git a/tests/FlexValidatorTest.php b/tests/FlexValidatorTest.php index 76bb74a..384fbe9 100644 --- a/tests/FlexValidatorTest.php +++ b/tests/FlexValidatorTest.php @@ -443,7 +443,7 @@ public function validateWithSameRuleMultipleTimes() $rules = [ 'username' => [ - 'rules' => v::alpha('_')->alpha(','), + 'rules' => v::allOf(v::alpha('_'), v::alpha(',')), ], ];