[Validator] CS fixes
This commit is contained in:
parent
870a41a594
commit
3bd6d802ed
@ -12,7 +12,6 @@
|
|||||||
namespace Symfony\Component\Validator\Tests\Constraints;
|
namespace Symfony\Component\Validator\Tests\Constraints;
|
||||||
|
|
||||||
use Symfony\Component\Validator\Constraint;
|
use Symfony\Component\Validator\Constraint;
|
||||||
use Symfony\Component\Validator\Constraints\AbstractComparisonValidator;
|
|
||||||
|
|
||||||
class ComparisonTest_Class
|
class ComparisonTest_Class
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Blank;
|
use Symfony\Component\Validator\Constraints\Blank;
|
||||||
use Symfony\Component\Validator\Constraints\BlankValidator;
|
use Symfony\Component\Validator\Constraints\BlankValidator;
|
||||||
use Symfony\Component\Validator\ConstraintViolation;
|
|
||||||
use Symfony\Component\Validator\Validation;
|
use Symfony\Component\Validator\Validation;
|
||||||
|
|
||||||
class BlankValidatorTest extends AbstractConstraintValidatorTest
|
class BlankValidatorTest extends AbstractConstraintValidatorTest
|
||||||
|
@ -13,7 +13,6 @@ namespace Symfony\Component\Validator\Tests\Constraints;
|
|||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Choice;
|
use Symfony\Component\Validator\Constraints\Choice;
|
||||||
use Symfony\Component\Validator\Constraints\ChoiceValidator;
|
use Symfony\Component\Validator\Constraints\ChoiceValidator;
|
||||||
use Symfony\Component\Validator\Mapping\ClassMetadata;
|
|
||||||
use Symfony\Component\Validator\Validation;
|
use Symfony\Component\Validator\Validation;
|
||||||
|
|
||||||
function choice_callback()
|
function choice_callback()
|
||||||
|
@ -311,7 +311,6 @@ abstract class CollectionValidatorTest extends AbstractConstraintValidatorTest
|
|||||||
'missingFieldsMessage' => 'myMessage',
|
'missingFieldsMessage' => 'myMessage',
|
||||||
)));
|
)));
|
||||||
|
|
||||||
|
|
||||||
$this->assertViolation('myMessage', array(
|
$this->assertViolation('myMessage', array(
|
||||||
'{{ field }}' => 'foo'
|
'{{ field }}' => 'foo'
|
||||||
), 'property.path[foo]', null);
|
), 'property.path[foo]', null);
|
||||||
|
Reference in New Issue
Block a user