Skip to content

Commit 9da3e0d

Browse files
peterrehmnicolas-grekas
authored andcommitted
Updated PHPUnit namespaces
1 parent 992c0e8 commit 9da3e0d

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

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
{

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;

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 <[email protected]>
2223
*/
23-
class FormPassTest extends \PHPUnit_Framework_TestCase
24+
class FormPassTest extends TestCase
2425
{
2526
public function testDoNothingIfFormExtensionNotLoaded()
2627
{

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
{

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
{

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

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;

0 commit comments

Comments
 (0)