File tree Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 24
24
25
25
class ClassMetadataTest extends TestCase
26
26
{
27
- const CLASSNAME = 'Symfony\Component\Validator\Tests\Fixtures\Entity ' ;
28
- const PARENTCLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityParent ' ;
29
- const PROVIDERCLASS = 'Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderEntity ' ;
30
- const PROVIDERCHILDCLASS = 'Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderChildEntity ' ;
27
+ private const CLASSNAME = 'Symfony\Component\Validator\Tests\Fixtures\Entity ' ;
28
+ private const PARENTCLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityParent ' ;
29
+ private const PROVIDERCLASS = 'Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderEntity ' ;
30
+ private const PROVIDERCHILDCLASS = 'Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderChildEntity ' ;
31
31
32
32
protected $ metadata ;
33
33
Original file line number Diff line number Diff line change 26
26
27
27
class LazyLoadingMetadataFactoryTest extends TestCase
28
28
{
29
- const CLASS_NAME = 'Symfony\Component\Validator\Tests\Fixtures\Entity ' ;
30
- const PARENT_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityParent ' ;
31
- const INTERFACE_A_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityInterfaceA ' ;
32
- const INTERFACE_B_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityInterfaceB ' ;
33
- const PARENT_INTERFACE_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityParentInterface ' ;
29
+ private const CLASS_NAME = 'Symfony\Component\Validator\Tests\Fixtures\Entity ' ;
30
+ private const PARENT_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityParent ' ;
31
+ private const INTERFACE_A_CLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityInterfaceA ' ;
34
32
35
33
public function testLoadClassMetadataWithInterface ()
36
34
{
Original file line number Diff line number Diff line change 17
17
18
18
class GetterMetadataTest extends TestCase
19
19
{
20
- const CLASSNAME = 'Symfony\Component\Validator\Tests\Fixtures\Entity ' ;
20
+ private const CLASSNAME = 'Symfony\Component\Validator\Tests\Fixtures\Entity ' ;
21
21
22
22
public function testInvalidPropertyName ()
23
23
{
Original file line number Diff line number Diff line change 19
19
20
20
class PropertyMetadataTest extends TestCase
21
21
{
22
- const CLASSNAME = 'Symfony\Component\Validator\Tests\Fixtures\Entity ' ;
23
- const CLASSNAME_74 = 'Symfony\Component\Validator\Tests\Fixtures\Entity_74 ' ;
24
- const CLASSNAME_74_PROXY = 'Symfony\Component\Validator\Tests\Fixtures\Entity_74_Proxy ' ;
25
- const PARENTCLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityParent ' ;
22
+ private const CLASSNAME = 'Symfony\Component\Validator\Tests\Fixtures\Entity ' ;
23
+ private const CLASSNAME_74 = 'Symfony\Component\Validator\Tests\Fixtures\Entity_74 ' ;
24
+ private const CLASSNAME_74_PROXY = 'Symfony\Component\Validator\Tests\Fixtures\Entity_74_Proxy ' ;
25
+ private const PARENTCLASS = 'Symfony\Component\Validator\Tests\Fixtures\EntityParent ' ;
26
26
27
27
public function testInvalidPropertyName ()
28
28
{
You can’t perform that action at this time.
0 commit comments