File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 24
24
*/
25
25
class EntityTypePerformanceTest extends FormPerformanceTestCase
26
26
{
27
- const ENTITY_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity ' ;
27
+ private const ENTITY_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity ' ;
28
28
29
29
/**
30
30
* @var \Doctrine\ORM\EntityManager
Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ class EntityTypeTest extends BaseTypeTest
39
39
{
40
40
const TESTED_TYPE = 'Symfony\Bridge\Doctrine\Form\Type\EntityType ' ;
41
41
42
- const ITEM_GROUP_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\GroupableEntity ' ;
43
- const SINGLE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity ' ;
44
- const SINGLE_IDENT_NO_TO_STRING_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdNoToStringEntity ' ;
45
- const SINGLE_STRING_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringIdEntity ' ;
46
- const SINGLE_ASSOC_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleAssociationToIntIdEntity ' ;
47
- const SINGLE_STRING_CASTABLE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringCastableIdEntity ' ;
48
- const COMPOSITE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeIntIdEntity ' ;
49
- const COMPOSITE_STRING_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeStringIdEntity ' ;
42
+ private const ITEM_GROUP_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\GroupableEntity ' ;
43
+ private const SINGLE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdEntity ' ;
44
+ private const SINGLE_IDENT_NO_TO_STRING_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleIntIdNoToStringEntity ' ;
45
+ private const SINGLE_STRING_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringIdEntity ' ;
46
+ private const SINGLE_ASSOC_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleAssociationToIntIdEntity ' ;
47
+ private const SINGLE_STRING_CASTABLE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\SingleStringCastableIdEntity ' ;
48
+ private const COMPOSITE_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeIntIdEntity ' ;
49
+ private const COMPOSITE_STRING_IDENT_CLASS = 'Symfony\Bridge\Doctrine\Tests\Fixtures\CompositeStringIdEntity ' ;
50
50
51
51
/**
52
52
* @var EntityManager
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class DoctrineFooType extends Type
23
23
/**
24
24
* Type name.
25
25
*/
26
- const NAME = 'foo ' ;
26
+ private const NAME = 'foo ' ;
27
27
28
28
/**
29
29
* {@inheritdoc}
Original file line number Diff line number Diff line change 40
40
*/
41
41
class UniqueEntityValidatorTest extends ConstraintValidatorTestCase
42
42
{
43
- const EM_NAME = 'foo ' ;
43
+ private const EM_NAME = 'foo ' ;
44
44
45
45
/**
46
46
* @var ObjectManager
You can’t perform that action at this time.
0 commit comments