Skip to content

Commit 205ced4

Browse files
peterrehmnicolas-grekas
authored andcommitted
Updated PHPUnit namespaces
1 parent 33bae93 commit 205ced4

File tree

40 files changed

+80
-40
lines changed

40 files changed

+80
-40
lines changed

src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@
1414
use Doctrine\DBAL\Types\Type as DBALType;
1515
use Doctrine\ORM\EntityManager;
1616
use Doctrine\ORM\Tools\Setup;
17+
use PHPUnit\Framework\TestCase;
1718
use Symfony\Bridge\Doctrine\PropertyInfo\DoctrineExtractor;
1819
use Symfony\Component\PropertyInfo\Type;
1920

2021
/**
2122
* @author Kévin Dunglas <dunglas@gmail.com>
2223
*/
23-
class DoctrineExtractorTest extends \PHPUnit_Framework_TestCase
24+
class DoctrineExtractorTest extends TestCase
2425
{
2526
/**
2627
* @var DoctrineExtractor

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/ConfigCachePassTest.php

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

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\DependencyInjection\Reference;
1516
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\ConfigCachePass;
1617

17-
class ConfigCachePassTest extends \PHPUnit_Framework_TestCase
18+
class ConfigCachePassTest extends TestCase
1819
{
1920
public function testThatCheckersAreProcessedInPriorityOrder()
2021
{

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/DataCollectorTranslatorPassTest.php

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

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\DataCollectorTranslatorPass;
1516
use Symfony\Component\DependencyInjection\ContainerBuilder;
1617
use Symfony\Component\DependencyInjection\Reference;
1718
use Symfony\Component\Translation\TranslatorInterface;
1819

19-
class DataCollectorTranslatorPassTest extends \PHPUnit_Framework_TestCase
20+
class DataCollectorTranslatorPassTest extends TestCase
2021
{
2122
private $container;
2223
private $dataCollectorTranslatorPass;

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/FormPassTest.php

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

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\FormPass;
1516
use Symfony\Component\DependencyInjection\ContainerBuilder;
1617
use Symfony\Component\DependencyInjection\Definition;
@@ -20,7 +21,7 @@
2021
/**
2122
* @author Bernhard Schussek <bschussek@gmail.com>
2223
*/
23-
class FormPassTest extends \PHPUnit_Framework_TestCase
24+
class FormPassTest extends TestCase
2425
{
2526
public function testDoNothingIfFormExtensionNotLoaded()
2627
{

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/PropertyInfoPassTest.php

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

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\PropertyInfoPass;
1516
use Symfony\Component\DependencyInjection\Reference;
1617

17-
class PropertyInfoPassTest extends \PHPUnit_Framework_TestCase
18+
class PropertyInfoPassTest extends TestCase
1819
{
1920
public function testServicesAreOrderedAccordingToPriority()
2021
{

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/UnusedTagsPassTest.php

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

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Compiler;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\UnusedTagsPass;
1516

16-
class UnusedTagsPassTest extends \PHPUnit_Framework_TestCase
17+
class UnusedTagsPassTest extends TestCase
1718
{
1819
public function testProcess()
1920
{

src/Symfony/Bundle/FrameworkBundle/Tests/Kernel/MicroKernelTraitTest.php

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

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\Kernel;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\HttpFoundation\Request;
1516

16-
class MicroKernelTraitTest extends \PHPUnit_Framework_TestCase
17+
class MicroKernelTraitTest extends TestCase
1718
{
1819
/**
1920
* @requires PHP 5.4

src/Symfony/Bundle/FrameworkBundle/Tests/Routing/DelegatingLoaderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
namespace Symfony\Bundle\FrameworkBundle\Tests\Routing;
44

5+
use PHPUnit\Framework\TestCase;
56
use Psr\Log\NullLogger;
67
use Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser;
78
use Symfony\Bundle\FrameworkBundle\Routing\DelegatingLoader;
89
use Symfony\Component\Config\Loader\LoaderResolver;
910

10-
class DelegatingLoaderTest extends \PHPUnit_Framework_TestCase
11+
class DelegatingLoaderTest extends TestCase
1112
{
1213
/** @var ControllerNameParser */
1314
private $controllerNameParser;

src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/Security/Factory/GuardAuthenticationFactoryTest.php

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

1212
namespace Symfony\Bundle\SecurityBundle\Tests\DependencyInjection\Security\Factory;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory\GuardAuthenticationFactory;
1516
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
1617
use Symfony\Component\DependencyInjection\ContainerBuilder;
1718
use Symfony\Component\DependencyInjection\Reference;
1819

19-
class GuardAuthenticationFactoryTest extends \PHPUnit_Framework_TestCase
20+
class GuardAuthenticationFactoryTest extends TestCase
2021
{
2122
/**
2223
* @dataProvider getValidConfigurationTests

src/Symfony/Component/Config/Tests/Resource/FileExistenceResourceTest.php

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

1212
namespace Symfony\Component\Config\Tests\Resource;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Config\Resource\FileExistenceResource;
1516

16-
class FileExistenceResourceTest extends \PHPUnit_Framework_TestCase
17+
class FileExistenceResourceTest extends TestCase
1718
{
1819
protected $resource;
1920
protected $file;

0 commit comments

Comments
 (0)