minor #21814 fixed CS (fabpot)
This PR was merged into the 2.7 branch.
Discussion
----------
fixed CS
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
Commits
-------
ad0bb6ac53
fixed CS
This commit is contained in:
commit
cb12e323a5
@ -11,7 +11,9 @@
|
||||
|
||||
namespace Symfony\Bundle\FrameworkBundle\Tests;
|
||||
|
||||
class CustomPathBundle extends \Symfony\Component\HttpKernel\Bundle\Bundle
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
|
||||
class CustomPathBundle extends Bundle
|
||||
{
|
||||
public function getPath()
|
||||
{
|
||||
|
@ -11,6 +11,8 @@
|
||||
|
||||
namespace Symfony\Bundle\FrameworkBundle\Tests;
|
||||
|
||||
class TestBundle extends \Symfony\Component\HttpKernel\Bundle\Bundle
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
|
||||
class TestBundle extends Bundle
|
||||
{
|
||||
}
|
||||
|
@ -11,9 +11,11 @@
|
||||
|
||||
namespace Symfony\Component\Form\Extension\Validator\Util;
|
||||
|
||||
use Symfony\Component\Form\Util\ServerParams as BaseServerParams;
|
||||
|
||||
/**
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class ServerParams extends \Symfony\Component\Form\Util\ServerParams
|
||||
class ServerParams extends BaseServerParams
|
||||
{
|
||||
}
|
||||
|
@ -14,8 +14,9 @@ namespace Symfony\Component\Form\Tests;
|
||||
use Symfony\Component\Form\FormError;
|
||||
use Symfony\Component\Form\FormView;
|
||||
use Symfony\Component\Form\Extension\Csrf\CsrfExtension;
|
||||
use Symfony\Component\Form\Test\FormIntegrationTestCase;
|
||||
|
||||
abstract class AbstractLayoutTest extends \Symfony\Component\Form\Test\FormIntegrationTestCase
|
||||
abstract class AbstractLayoutTest extends FormIntegrationTestCase
|
||||
{
|
||||
protected $csrfTokenManager;
|
||||
protected $testableFeatures = array();
|
||||
|
@ -11,10 +11,12 @@
|
||||
|
||||
namespace Symfony\Component\Form\Tests;
|
||||
|
||||
use Symfony\Component\Form\Test\FormPerformanceTestCase;
|
||||
|
||||
/**
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
class CompoundFormPerformanceTest extends \Symfony\Component\Form\Test\FormPerformanceTestCase
|
||||
class CompoundFormPerformanceTest extends FormPerformanceTestCase
|
||||
{
|
||||
/**
|
||||
* Create a compound form multiple times, as happens in a collection form.
|
||||
|
@ -11,10 +11,12 @@
|
||||
|
||||
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
|
||||
|
||||
use Symfony\Component\Form\Test\TypeTestCase;
|
||||
|
||||
/**
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
abstract class BaseTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
|
||||
abstract class BaseTypeTest extends TypeTestCase
|
||||
{
|
||||
public function testPassDisabledAsOption()
|
||||
{
|
||||
|
@ -12,8 +12,9 @@
|
||||
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
|
||||
|
||||
use Symfony\Component\Form\CallbackTransformer;
|
||||
use Symfony\Component\Form\Test\TypeTestCase;
|
||||
|
||||
class CheckboxTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
|
||||
class CheckboxTypeTest extends TypeTestCase
|
||||
{
|
||||
public function testDataIsFalseByDefault()
|
||||
{
|
||||
|
@ -11,10 +11,11 @@
|
||||
|
||||
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
|
||||
|
||||
use Symfony\Component\Form\Test\TypeTestCase;
|
||||
use Symfony\Component\Form\Tests\Fixtures\Author;
|
||||
use Symfony\Component\Form\Tests\Fixtures\AuthorType;
|
||||
|
||||
class CollectionTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
|
||||
class CollectionTypeTest extends TypeTestCase
|
||||
{
|
||||
public function testContainsNoChildByDefault()
|
||||
{
|
||||
|
@ -11,7 +11,9 @@
|
||||
|
||||
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
|
||||
|
||||
class FileTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
|
||||
use Symfony\Component\Form\Test\TypeTestCase;
|
||||
|
||||
class FileTypeTest extends TypeTestCase
|
||||
{
|
||||
// https://github.com/symfony/symfony/pull/5028
|
||||
public function testSetData()
|
||||
|
@ -11,7 +11,9 @@
|
||||
|
||||
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
|
||||
|
||||
class PasswordTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
|
||||
use Symfony\Component\Form\Test\TypeTestCase;
|
||||
|
||||
class PasswordTypeTest extends TypeTestCase
|
||||
{
|
||||
public function testEmptyIfNotSubmitted()
|
||||
{
|
||||
|
@ -11,7 +11,9 @@
|
||||
|
||||
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
|
||||
|
||||
class RepeatedTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
|
||||
use Symfony\Component\Form\Test\TypeTestCase;
|
||||
|
||||
class RepeatedTypeTest extends TypeTestCase
|
||||
{
|
||||
protected $form;
|
||||
|
||||
|
@ -12,8 +12,9 @@
|
||||
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
|
||||
|
||||
use Symfony\Component\Form\ChoiceList\View\ChoiceView;
|
||||
use Symfony\Component\Form\Test\TypeTestCase;
|
||||
|
||||
class TimezoneTypeTest extends \Symfony\Component\Form\Test\TypeTestCase
|
||||
class TimezoneTypeTest extends TypeTestCase
|
||||
{
|
||||
public function testTimezonesAreSelectable()
|
||||
{
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\Security\Acl\Tests\Domain
|
||||
{
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
|
||||
use Symfony\Component\Security\Acl\Model\DomainObjectInterface;
|
||||
@ -131,7 +130,9 @@ namespace Symfony\Component\Security\Acl\Tests\Domain
|
||||
|
||||
namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Acl\Tests\Domain
|
||||
{
|
||||
class TestDomainObject extends \Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject
|
||||
use Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject as BaseTestDomainObject;
|
||||
|
||||
class TestDomainObject extends BaseTestDomainObject
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\Security\Core\Tests\Util
|
||||
{
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\Security\Core\Util\ClassUtils;
|
||||
|
||||
@ -46,7 +45,9 @@ namespace Symfony\Component\Security\Core\Tests\Util
|
||||
|
||||
namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Core\Tests\Util
|
||||
{
|
||||
class TestObject extends \Symfony\Component\Security\Core\Tests\Util\TestObject
|
||||
use Symfony\Component\Security\Core\Tests\Util\TestObject as BaseTestObject;
|
||||
|
||||
class TestObject extends BaseTestObject
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user