From 3bd6d802ed88a35c7936459f77ac36a53421044c Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Sat, 26 Jul 2014 17:31:44 +0200 Subject: [PATCH] [Validator] CS fixes --- .../Tests/Constraints/AbstractComparisonValidatorTestCase.php | 1 - .../Component/Validator/Tests/Constraints/BlankValidatorTest.php | 1 - .../Validator/Tests/Constraints/ChoiceValidatorTest.php | 1 - .../Validator/Tests/Constraints/CollectionValidatorTest.php | 1 - 4 files changed, 4 deletions(-) diff --git a/src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php b/src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php index e9fde5f61b..7379289d3f 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php @@ -12,7 +12,6 @@ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Constraint; -use Symfony\Component\Validator\Constraints\AbstractComparisonValidator; class ComparisonTest_Class { diff --git a/src/Symfony/Component/Validator/Tests/Constraints/BlankValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/BlankValidatorTest.php index c252f474ba..2af35aefa3 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/BlankValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/BlankValidatorTest.php @@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Constraints\Blank; use Symfony\Component\Validator\Constraints\BlankValidator; -use Symfony\Component\Validator\ConstraintViolation; use Symfony\Component\Validator\Validation; class BlankValidatorTest extends AbstractConstraintValidatorTest diff --git a/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php index c41d57b533..3bd9234d5c 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/ChoiceValidatorTest.php @@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Constraints\Choice; use Symfony\Component\Validator\Constraints\ChoiceValidator; -use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Validation; function choice_callback() diff --git a/src/Symfony/Component/Validator/Tests/Constraints/CollectionValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/CollectionValidatorTest.php index d4db792c59..7303460406 100644 --- a/src/Symfony/Component/Validator/Tests/Constraints/CollectionValidatorTest.php +++ b/src/Symfony/Component/Validator/Tests/Constraints/CollectionValidatorTest.php @@ -311,7 +311,6 @@ abstract class CollectionValidatorTest extends AbstractConstraintValidatorTest 'missingFieldsMessage' => 'myMessage', ))); - $this->assertViolation('myMessage', array( '{{ field }}' => 'foo' ), 'property.path[foo]', null);