File tree Expand file tree Collapse file tree 14 files changed +38
-14
lines changed
Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures Expand file tree Collapse file tree 14 files changed +38
-14
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \FrameworkBundle \Tests ;
13
13
14
- class CustomPathBundle extends \Symfony \Component \HttpKernel \Bundle \Bundle
14
+ use Symfony \Component \HttpKernel \Bundle \Bundle ;
15
+
16
+ class CustomPathBundle extends Bundle
15
17
{
16
18
public function getPath ()
17
19
{
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \FrameworkBundle \Tests ;
13
13
14
- class TestBundle extends \Symfony \Component \HttpKernel \Bundle \Bundle
14
+ use Symfony \Component \HttpKernel \Bundle \Bundle ;
15
+
16
+ class TestBundle extends Bundle
15
17
{
16
18
}
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Form \Extension \Validator \Util ;
13
13
14
+ use Symfony \Component \Form \Util \ServerParams as BaseServerParams ;
15
+
14
16
/**
15
17
* @author Bernhard Schussek <bschussek@gmail.com>
16
18
*/
17
- class ServerParams extends \ Symfony \ Component \ Form \ Util \ServerParams
19
+ class ServerParams extends BaseServerParams
18
20
{
19
21
}
Original file line number Diff line number Diff line change 14
14
use Symfony \Component \Form \FormError ;
15
15
use Symfony \Component \Form \FormView ;
16
16
use Symfony \Component \Form \Extension \Csrf \CsrfExtension ;
17
+ use Symfony \Component \Form \Test \FormIntegrationTestCase ;
17
18
18
- abstract class AbstractLayoutTest extends \ Symfony \ Component \ Form \ Test \ FormIntegrationTestCase
19
+ abstract class AbstractLayoutTest extends FormIntegrationTestCase
19
20
{
20
21
protected $ csrfTokenManager ;
21
22
protected $ testableFeatures = array ();
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Form \Tests ;
13
13
14
+ use Symfony \Component \Form \Test \FormPerformanceTestCase ;
15
+
14
16
/**
15
17
* @author Bernhard Schussek <bschussek@gmail.com>
16
18
*/
17
- class CompoundFormPerformanceTest extends \ Symfony \ Component \ Form \ Test \ FormPerformanceTestCase
19
+ class CompoundFormPerformanceTest extends FormPerformanceTestCase
18
20
{
19
21
/**
20
22
* Create a compound form multiple times, as happens in a collection form.
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Form \Tests \Extension \Core \Type ;
13
13
14
+ use Symfony \Component \Form \Test \TypeTestCase ;
15
+
14
16
/**
15
17
* @author Bernhard Schussek <bschussek@gmail.com>
16
18
*/
17
- abstract class BaseTypeTest extends \ Symfony \ Component \ Form \ Test \ TypeTestCase
19
+ abstract class BaseTypeTest extends TypeTestCase
18
20
{
19
21
public function testPassDisabledAsOption ()
20
22
{
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Form \Tests \Extension \Core \Type ;
13
13
14
14
use Symfony \Component \Form \CallbackTransformer ;
15
+ use Symfony \Component \Form \Test \TypeTestCase ;
15
16
16
- class CheckboxTypeTest extends \ Symfony \ Component \ Form \ Test \ TypeTestCase
17
+ class CheckboxTypeTest extends TypeTestCase
17
18
{
18
19
public function testDataIsFalseByDefault ()
19
20
{
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Form \Tests \Extension \Core \Type ;
13
13
14
+ use Symfony \Component \Form \Test \TypeTestCase ;
14
15
use Symfony \Component \Form \Tests \Fixtures \Author ;
15
16
use Symfony \Component \Form \Tests \Fixtures \AuthorType ;
16
17
17
- class CollectionTypeTest extends \ Symfony \ Component \ Form \ Test \ TypeTestCase
18
+ class CollectionTypeTest extends TypeTestCase
18
19
{
19
20
public function testContainsNoChildByDefault ()
20
21
{
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Form \Tests \Extension \Core \Type ;
13
13
14
- class FileTypeTest extends \Symfony \Component \Form \Test \TypeTestCase
14
+ use Symfony \Component \Form \Test \TypeTestCase ;
15
+
16
+ class FileTypeTest extends TypeTestCase
15
17
{
16
18
// https://github.com/symfony/symfony/pull/5028
17
19
public function testSetData ()
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Form \Tests \Extension \Core \Type ;
13
13
14
- class PasswordTypeTest extends \Symfony \Component \Form \Test \TypeTestCase
14
+ use Symfony \Component \Form \Test \TypeTestCase ;
15
+
16
+ class PasswordTypeTest extends TypeTestCase
15
17
{
16
18
public function testEmptyIfNotSubmitted ()
17
19
{
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Form \Tests \Extension \Core \Type ;
13
13
14
- class RepeatedTypeTest extends \Symfony \Component \Form \Test \TypeTe
10000
stCase
14
+ use Symfony \Component \Form \Test \TypeTestCase ;
15
+
16
+ class RepeatedTypeTest extends TypeTestCase
15
17
{
16
18
protected $ form ;
17
19
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Form \Tests \Extension \Core \Type ;
13
13
14
14
use Symfony \Component \Form \ChoiceList \View \ChoiceView ;
15
+ use Symfony \Component \Form \Test \TypeTestCase ;
15
16
16
- class TimezoneTypeTest extends \ Symfony \ Component \ Form \ Test \ TypeTestCase
17
+ class TimezoneTypeTest extends TypeTestCase
17
18
{
18
19
public function testTimezonesAreSelectable ()
19
20
{
Original file line number Diff line number Diff line change @@ -131,7 +131,9 @@ public function getId()
131
131
132
132
namespace Acme \DemoBundle \Proxy \__CG__ \Symfony \Component \Security \Acl \Tests \Domain
133
133
{
134
- class TestDomainObject extends \Symfony \Component \Security \Acl \Tests \Domain \TestDomainObject
134
+ use Symfony \Component \Security \Acl \Tests \Domain \TestDomainObject as BaseTestDomainObject ;
135
+
136
+ class TestDomainObject extends BaseTestDomainObject
135
137
{
136
138
}
137
139
}
Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ class TestObject
46
46
47
47
namespace Acme \DemoBundle \Proxy \__CG__ \Symfony \Component \Security \Core \Tests \Util
48
48
{
49
- class TestObject extends \Symfony \Component \Security \Core \Tests \Util \TestObject
49
+ use Symfony \Component \Security \Core \Tests \Util \TestObject as BaseTestObject ;
50
+
51
+ class TestObject extends BaseTestObject
50
52
{
51
53
}
52
54
}
You can’t perform that action at this time.
0 commit comments