File tree Expand file tree Collapse file tree 7 files changed +10
-14
lines changed
Tests/Validator/Constraints
Tests/Extension/Validator/Constraints
Tests/Validator/Constraints Expand file tree Collapse file tree 7 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 3131use Symfony \Bridge \Doctrine \Tests \Fixtures \Type \StringWrapper ;
3232use Symfony \Bridge \Doctrine \Validator \Constraints \UniqueEntity ;
3333use Symfony \Bridge \Doctrine \Validator \Constraints \UniqueEntityValidator ;
34- use Symfony \Component \Validator \Tests \ Constraints \ AbstractConstraintValidatorTest ;
34+ use Symfony \Component \Validator \Test \ ConstraintValidatorTestCase ;
3535use Doctrine \ORM \Tools \SchemaTool ;
3636
3737/**
3838 * @author Bernhard Schussek <[email protected] > 39- *
40- * @todo use ConstraintValidatorTestCase when symfony/validator ~3.2 is required.
4139 */
42- class UniqueEntityValidatorTest extends AbstractConstraintValidatorTest
40+ class UniqueEntityValidatorTest extends ConstraintValidatorTestCase
4341{
4442 const EM_NAME = 'foo ' ;
4543
Original file line number Diff line number Diff line change 3030 "symfony/proxy-manager-bridge" : " ~2.8|~3.0|~4.0.0" ,
3131 "symfony/security" : " ~2.8|~3.0|~4.0.0" ,
3232 "symfony/expression-language" : " ~2.8|~3.0|~4.0.0" ,
33- "symfony/validator" : " ^2.8.18|^ 3.2.5|~4.0.0" ,
33+ "symfony/validator" : " ^3.2.5|~4.0.0" ,
3434 "symfony/translation" : " ~2.8|~3.0|~4.0.0" ,
3535 "doctrine/data-fixtures" : " 1.0.*" ,
3636 "doctrine/dbal" : " ~2.4" ,
Original file line number Diff line number Diff line change 2222use Symfony \Component \Validator \Constraints \NotNull ;
2323use Symfony \Component \Validator \Constraints \NotBlank ;
2424use Symfony \Component \Validator \Constraints \Valid ;
25- use Symfony \Component \Validator \Tests \ Constraints \ AbstractConstraintValidatorTest ;
25+ use Symfony \Component \Validator \Test \ ConstraintValidatorTestCase ;
2626
2727/**
2828 * @author Bernhard Schussek <[email protected] > 29- *
30- * @todo use ConstraintValidatorTestCase when symfony/validator ~3.2 is required.
3129 */
32- class FormValidatorTest extends AbstractConstraintValidatorTest
30+ class FormValidatorTest extends ConstraintValidatorTestCase
3331{
3432 /**
3533 * @var \PHPUnit_Framework_MockObject_MockObject
Original file line number Diff line number Diff line change 2525 },
2626 "require-dev" : {
2727 "doctrine/collections" : " ~1.0" ,
28- "symfony/validator" : " ^2.8.18|^ 3.2.5|~4.0.0" ,
28+ "symfony/validator" : " ^3.2.5|~4.0.0" ,
2929 "symfony/dependency-injection" : " ~3.3|~4.0.0" ,
3030 "symfony/config" : " ~2.7|~3.0|~4.0.0" ,
3131 "symfony/http-foundation" : " ~2.8|~3.0|~4.0.0" ,
Original file line number Diff line number Diff line change 1616use Symfony \Component \Security \Core \Encoder \PasswordEncoderInterface ;
1717use Symfony \Component \Security \Core \Validator \Constraints \UserPassword ;
1818use Symfony \Component \Security \Core \Validator \Constraints \UserPasswordValidator ;
19- use Symfony \Component \Validator \Tests \ Constraints \ AbstractConstraintValidatorTest ;
19+ use Symfony \Component \Validator \Test \ ConstraintValidatorTestCase ;
2020
2121/**
2222 * @author Bernhard Schussek <[email protected] > 2323 */
24- abstract class UserPasswordValidatorTest extends AbstractConstraintValidatorTest
24+ abstract class UserPasswordValidatorTest extends ConstraintValidatorTestCase
2525{
2626 const PASSWORD = 's3Cr3t ' ;
2727
Original file line number Diff line number Diff line change 2424 "symfony/expression-language" : " ~2.8|~3.0|~4.0.0" ,
2525 "symfony/http-foundation" : " ~2.8|~3.0|~4.0.0" ,
2626 "symfony/ldap" : " ~3.1|~4.0.0" ,
27- "symfony/validator" : " ^2.8.18|^ 3.2.5|~4.0.0" ,
27+ "symfony/validator" : " ^3.2.5|~4.0.0" ,
2828 "psr/log" : " ~1.0"
2929 },
3030 "suggest" : {
Original file line number Diff line number Diff line change 3535 "symfony/finder" : " ~2.8|~3.0|~4.0.0" ,
3636 "symfony/polyfill-intl-icu" : " ~1.0" ,
3737 "symfony/routing" : " ~2.8|~3.0|~4.0.0" ,
38- "symfony/validator" : " ^2.8.18|^ 3.2.5|~4.0.0" ,
38+ "symfony/validator" : " ^3.2.5|~4.0.0" ,
3939 "symfony/expression-language" : " ~2.8|~3.0|~4.0.0" ,
4040 "symfony/ldap" : " ~3.1|~4.0.0" ,
4141 "psr/log" : " ~1.0"
You can’t perform that action at this time.
0 commit comments