8000 fixed CS · symfony/symfony@ce605a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce605a3

Browse files
committed
fixed CS
1 parent a786b5a commit ce605a3

File tree

14 files changed

+38
-14
lines changed

14 files changed

+38
-14
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/CustomPathBundle/src/CustomPathBundle.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests;
1313

14-
class CustomPathBundle extends \Symfony\Component\HttpKernel\Bundle\Bundle
14+
use Symfony\Component\HttpKernel\Bundle\Bundle;
15+
16+
class CustomPathBundle extends Bundle
1517
{
1618
public function getPath()
1719
{

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/TestBundle/TestBundle.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests;
1313

14-
class TestBundle extends \Symfony\Component\HttpKernel\Bundle\Bundle
14+
use Symfony\Component\HttpKernel\Bundle\Bundle;
15+
16+
class TestBundle extends Bundle
1517
{
1618
}

src/Symfony/Component/Form/Extension/Validator/Util/ServerParams.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111

1212
namespace Symfony\Component\Form\Extension\Validator\Util;
1313

14+
use Symfony\Component\Form\Util\ServerParams as BaseServerParams;
15+
1416
/**
1517
* @author Bernhard Schussek <bschussek@gmail.com>
1618
*/
17-
class ServerParams extends \Symfony\Component\Form\Util\ServerParams
19+
class ServerParams extends BaseServerParams
1820
{
1921
}

src/Symfony/Component/Form/Tests/AbstractLayoutTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
use Symfony\Component\Form\FormError;
1515
use Symfony\Component\Form\FormView;
1616
use Symfony\Component\Form\Extension\Csrf\CsrfExtension;
17+
use Symfony\Component\Form\Test\FormIntegrationTestCase;
1718

18-
abstract class AbstractLayoutTest extends \Symfony\Component\Form\Test\FormIntegrationTestCase
19+
abstract class AbstractLayoutTest extends FormIntegrationTestCase
1920
{
2021
protected $csrfTokenManager;
2122
protected $testableFeatures = array();

src/Symfony/Component/Form/Tests/CompoundFormPerformanceTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111

1212
namespace Symfony\Component\Form\Tests;
1313

14+
use Symfony\Component\Form\Test\FormPerformanceTestCase;
15+
1416
/**
1517
* @author Bernhard Schussek <bschussek@gmail.com>
1618
*/
17-
class CompoundFormPerformanceTest extends \Symfony\Component\Form\Test\FormPerformanceTestCase
19+
class CompoundFormPerformanceTest extends FormPerformanceTestCase
1820
{
1921
/**
2022
* Create a compound form multiple times, as happens in a collection form.

src/Symfony/Component/Form/Tests/Extension/Core/Type/BaseTypeTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111

1212
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
1313

14+
use Symfony\Component\Form\Test\TypeTestCase;
15+
1416
/**
1517
* @author Bernhard Schussek <bschussek@gmail.com>
1618
*/
17-
abstract class BaseTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
19+
abstract class BaseTypeTest extends TypeTestCase
1820
{
1921
public function testPassDisabledAsOption()
2022
{

src/Symfony/Component/Form/Tests/Extension/Core/Type/CheckboxTypeTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
1313

1414
use Symfony\Component\Form\CallbackTransformer;
15+
use Symfony\Component\Form\Test\TypeTestCase;
1516

16-
class CheckboxTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
17+
class CheckboxTypeTest extends TypeTestCase
1718
{
1819
public function testDataIsFalseByDefault()
1920
{

src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111

1212
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
1313

14+
use Symfony\Component\Form\Test\TypeTestCase;
1415
use Symfony\Component\Form\Tests\Fixtures\Author;
1516
use Symfony\Component\Form\Tests\Fixtures\AuthorType;
1617

17-
class CollectionTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
18+
class CollectionTypeTest extends TypeTestCase
1819
{
1920
public function testContainsNoChildByDefault()
2021
{

src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
1313

14-
class FileTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
14+
use Symfony\Component\Form\Test\TypeTestCase;
15+
16+
class FileTypeTest extends TypeTestCase
1517
{
1618
// https://github.com/symfony/symfony/pull/5028
1719
public function testSetData()

src/Symfony/Component/Form/Tests/Extension/Core/Type/PasswordTypeTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
1313

14-
class PasswordTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
14+
use Symfony\Component\Form\Test\TypeTestCase;
15+
16+
class PasswordTypeTest extends TypeTestCase
1517
{
1618
public function testEmptyIfNotSubmitted()
1719
{

src/Symfony/Component/Form/Tests/Extension/Core/Type/RepeatedTypeTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
1313

14-
class RepeatedTypeTest extends \Symfony\Component\Form\Test\TypeTe 10000 stCase
14+
use Symfony\Component\Form\Test\TypeTestCase;
15+
16+
class RepeatedTypeTest extends TypeTestCase
1517
{
1618
protected $form;
1719

src/Symfony/Component/Form/Tests/Extension/Core/Type/TimezoneTypeTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
1313

1414
use Symfony\Component\Form\ChoiceList\View\ChoiceView;
15+
use Symfony\Component\Form\Test\TypeTestCase;
1516

16-
class TimezoneTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
17+
class TimezoneTypeTest extends TypeTestCase
1718
{
1819
public function testTimezonesAreSelectable()
1920
{

src/Symfony/Component/Security/Acl/Tests/Domain/ObjectIdentityTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ public function getId()
131131

132132
namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Acl\Tests\Domain
133133
{
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
135137
{
136138
}
137139
}

src/Symfony/Component/Security/Core/Tests/Util/ClassUtilsTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ class TestObject
4646

4747
namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Core\Tests\Util
4848
{
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
5052
{
5153
}
5254
}

0 commit comments

Comments
 (0)
0