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

Skip to content

Commit ad0bb6a

Browse files
committed
fixed CS
1 parent a786b5a commit ad0bb6a

File tree

14 files changed

+38
-16
lines changed

14 files changed

+38
-16
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
< E7F5 tr class="diff-line-row">
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 ex 7E71 tends \Symfony\Component\Form\Test\TypeTestCase
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\Security\Acl\Tests\Domain
1313
{
14-
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
1716
use Symfony\Component\Security\Acl\Model\DomainObjectInterface;
@@ -131,7 +130,9 @@ public function getId()
131130

132131
namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Acl\Tests\Domain
133132
{
134-
class TestDomainObject extends \Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject
133+
use Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject as BaseTestDomainObject;
134+
135+
class TestDomainObject extends BaseTestDomainObject
135136
{
136137
}
137138
}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\Security\Core\Tests\Util
1313
{
14-
1514
use PHPUnit\Framework\TestCase;
1615
use Symfony\Component\Security\Core\Util\ClassUtils;
1716

@@ -46,7 +45,9 @@ class TestObject
4645

4746
namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Core\Tests\Util
4847
{
49-
class TestObject extends \Symfony\Component\Security\Core\Tests\Util\TestObject
48+
use Symfony\Component\Security\Core\Tests\Util\TestObject as BaseTestObject;
49+
50+
class TestObject extends BaseTestObject
5051
{
5152
}
5253
}

0 commit comments

Comments
 (0)
0