File tree 7 files changed +10
-14
lines changed
Tests/Validator/Constraints
Tests/Extension/Validator/Constraints
Tests/Validator/Constraints
7 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 31
31
use Symfony \Bridge \Doctrine \Tests \Fixtures \Type \StringWrapper ;
32
32
use Symfony \Bridge \Doctrine \Validator \Constraints \UniqueEntity ;
33
33
use Symfony \Bridge \Doctrine \Validator \Constraints \UniqueEntityValidator ;
34
- use Symfony \Component \Validator \Tests \ Constraints \ AbstractConstraintValidatorTest ;
34
+ use Symfony \Component \Validator \Test \ ConstraintValidatorTestCase ;
35
35
use Doctrine \ORM \Tools \SchemaTool ;
36
36
37
37
/**
38
38
* @author Bernhard Schussek <[email protected] >
39
- *
40
- * @todo use ConstraintValidatorTestCase when symfony/validator ~3.2 is required.
41
39
*/
42
- class UniqueEntityValidatorTest extends AbstractConstraintValidatorTest
40
+ class UniqueEntityValidatorTest extends ConstraintValidatorTestCase
43
41
{
44
42
const EM_NAME = 'foo ' ;
45
43
Original file line number Diff line number Diff line change 30
30
"symfony/proxy-manager-bridge" : " ~2.8|~3.0|~4.0.0" ,
31
31
"symfony/security" : " ~2.8|~3.0|~4.0.0" ,
32
32
"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" ,
34
34
"symfony/translation" : " ~2.8|~3.0|~4.0.0" ,
35
35
"doctrine/data-fixtures" : " 1.0.*" ,
36
36
"doctrine/dbal" : " ~2.4" ,
Original file line number Diff line number Diff line change 22
22
use Symfony \Component \Validator \Constraints \NotNull ;
23
23
use Symfony \Component \Validator \Constraints \NotBlank ;
24
24
use Symfony \Component \Validator \Constraints \Valid ;
25
- use Symfony \Component \Validator \Tests \ Constraints \ AbstractConstraintValidatorTest ;
25
+ use Symfony \Component \Validator \Test \ ConstraintValidatorTestCase ;
26
26
27
27
/**
28
28
* @author Bernhard Schussek <[email protected] >
29
- *
30
- * @todo use ConstraintValidatorTestCase when symfony/validator ~3.2 is required.
31
29
*/
32
- class FormValidatorTest extends AbstractConstraintValidatorTest
30
+ class FormValidatorTest extends ConstraintValidatorTestCase
33
31
{
34
32
/**
35
33
* @var \PHPUnit_Framework_MockObject_MockObject
Original file line number Diff line number Diff line change 25
25
},
26
26
"require-dev" : {
27
27
"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" ,
29
29
"symfony/dependency-injection" : " ~3.3|~4.0.0" ,
30
30
"symfony/config" : " ~2.7|~3.0|~4.0.0" ,
31
31
"symfony/http-foundation" : " ~2.8|~3.0|~4.0.0" ,
Original file line number Diff line number Diff line change 16
16
use Symfony \Component \Security \Core \Encoder \PasswordEncoderInterface ;
17
17
use Symfony \Component \Security \Core \Validator \Constraints \UserPassword ;
18
18
use Symfony \Component \Security \Core \Validator \Constraints \UserPasswordValidator ;
19
- use Symfony \Component \Validator \Tests \ Constraints \ AbstractConstraintValidatorTest ;
19
+ use Symfony \Component \Validator \Test \ ConstraintValidatorTestCase ;
20
20
21
21
/**
22
22
* @author Bernhard Schussek <[email protected] >
23
23
*/
24
- abstract class UserPasswordValidatorTest extends AbstractConstraintValidatorTest
24
+ abstract class UserPasswordValidatorTest extends ConstraintValidatorTestCase
25
25
{
26
26
const PASSWORD = 's3Cr3t ' ;
27
27
Original file line number Diff line number Diff line change 24
24
"symfony/expression-language" : " ~2.8|~3.0|~4.0.0" ,
25
25
"symfony/http-foundation" : " ~2.8|~3.0|~4.0.0" ,
26
26
"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" ,
28
28
"psr/log" : " ~1.0"
29
29
},
30
30
"suggest" : {
Original file line number Diff line number Diff line change 35
35
"symfony/finder" : " ~2.8|~3.0|~4.0.0" ,
36
36
"symfony/polyfill-intl-icu" : " ~1.0" ,
37
37
"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" ,
39
39
"symfony/expression-language" : " ~2.8|~3.0|~4.0.0" ,
40
40
"symfony/ldap" : " ~3.1|~4.0.0" ,
41
41
"psr/log" : " ~1.0"
You can’t perform that action at this time.
0 commit comments