Skip to content

Commit 772cf49

Browse files
Merge branch '3.2'
* 3.2: Updated PHPUnit namespaces Add missing conflict rules for phpunit
2 parents f1b8721 + 48e022b commit 772cf49

File tree

8 files changed

+16
-8
lines changed

8 files changed

+16
-8
lines changed

Tests/Controller/ArgumentResolverTest.php

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

1212
namespace Symfony\Component\HttpKernel\Tests\Controller;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\HttpKernel\Controller\ArgumentResolver;
1516
use Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver;
1617
use Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestAttributeValueResolver;
@@ -23,7 +24,7 @@
2324
use Symfony\Component\HttpKernel\Tests\Fixtures\Controller\VariadicController;
2425
use Symfony\Component\HttpFoundation\Request;
2526

26-
class ArgumentResolverTest extends \PHPUnit_Framework_TestCase
27+
class ArgumentResolverTest extends TestCase
2728
{
2829
/** @var ArgumentResolver */
2930
private static $resolver;

Tests/ControllerMetadata/ArgumentMetadataFactoryTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
namespace Symfony\Component\HttpKernel\Tests\ControllerMetadata;
1313

1414
use Fake\ImportedAndFake;
15+
use PHPUnit\Framework\TestCase;
1516
use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata;
1617
use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory;
1718
use Symfony\Component\HttpKernel\Tests\Fixtures\Controller\BasicTypesController;
1819
use Symfony\Component\HttpKernel\Tests\Fixtures\Controller\NullableController;
1920
use Symfony\Component\HttpKernel\Tests\Fixtures\Controller\VariadicController;
2021

21-
class ArgumentMetadataFactoryTest extends \PHPUnit_Framework_TestCase
22+
class ArgumentMetadataFactoryTest extends TestCase
2223
{
2324
/**
2425
* @var ArgumentMetadataFactory

Tests/ControllerMetadata/ArgumentMetadataTest.php

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

1212
namespace Symfony\Component\HttpKernel\Tests\ControllerMetadata;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata;
1516

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

Tests/DataCollector/DataCollectorTest.php

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

1212
namespace Symfony\Component\HttpKernel\Tests\DataCollector;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\HttpFoundation\Request;
1516
use Symfony\Component\HttpFoundation\Response;
1617
use Symfony\Component\HttpKernel\Tests\Fixtures\DataCollector\CloneVarDataCollector;
1718
use Symfony\Component\VarDumper\Cloner\Stub;
1819
use Symfony\Component\VarDumper\Cloner\VarCloner;
1920
use Symfony\Component\VarDumper\Dumper\CliDumper;
2021

21-
class DataCollectorTest extends \PHPUnit_Framework_TestCase
22+
class DataCollectorTest extends TestCase
2223
{
2324
public function testCloneVarStringWithScheme()
2425
{

Tests/Debug/FileLinkFormatterTest.php

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

1212
namespace Symfony\Component\HttpKernel\Tests\Debug;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\HttpFoundation\Request;
1516
use Symfony\Component\HttpFoundation\RequestStack;
1617
use Symfony\Component\HttpKernel\Debug\FileLinkFormatter;
1718

18-
class FileLinkFormatterTest extends \PHPUnit_Framework_TestCase
19+
class FileLinkFormatterTest extends TestCase
1920
{
2021
public function testWhenNoFileLinkFormatAndNoRequest()
2122
{

Tests/DependencyInjection/AddClassesToCachePassTest.php

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

1212
namespace Symfony\Component\HttpKernel\Tests\DependencyInjection;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\HttpKernel\DependencyInjection\AddClassesToCachePass;
1516

1617
/**
1718
* @group legacy
1819
*/
19-
class AddClassesToCachePassTest extends \PHPUnit_Framework_TestCase
20+
class AddClassesToCachePassTest extends TestCase
2021
{
2122
public function testExpandClasses()
2223
{

Tests/Exception/HttpExceptionTest.php

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

33
namespace Symfony\Component\HttpKernel\Tests\Exception;
44

5+
use PHPUnit\Framework\TestCase;
56
use Symfony\Component\HttpKernel\Exception\HttpException;
67

7-
class HttpExceptionTest extends \PHPUnit_Framework_TestCase
8+
class HttpExceptionTest extends TestCase
89
{
910
public function headerDataProvider()
1011
{

Tests/Profiler/FileProfilerStorageTest.php

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

1212
namespace Symfony\Component\HttpKernel\Tests\Profiler;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\HttpKernel\Profiler\FileProfilerStorage;
1516
use Symfony\Component\HttpKernel\Profiler\Profile;
1617

17-
class FileProfilerStorageTest extends \PHPUnit_Framework_TestCase
18+
class FileProfilerStorageTest extends TestCase
1819
{
1920
private $tmpDir;
2021
private $storage;

0 commit comments

Comments
 (0)