Skip to content

Commit 57b1bcf

Browse files
minor #21663 Updated PHPUnit namespaces (peterrehm)
This PR was squashed before being merged into the 2.8 branch (closes #21663). Discussion ---------- Updated PHPUnit namespaces | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Follow Up of #21564 Commits ------- 205ced4 Updated PHPUnit namespaces
2 parents e724cb9 + 65ef2b1 commit 57b1bcf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Tests/Compiler/AutowirePassTest.php

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

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

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\DependencyInjection\Compiler\AutowirePass;
1516
use Symfony\Component\DependencyInjection\ContainerBuilder;
1617
use Symfony\Component\DependencyInjection\Reference;
1718

1819
/**
1920
* @author Kévin Dunglas <[email protected]>
2021
*/
21-
class AutowirePassTest extends \PHPUnit_Framework_TestCase
22+
class AutowirePassTest extends TestCase
2223
{
2324
public function testProcess()
2425
{

Tests/Loader/DirectoryLoaderTest.php

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

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

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\DependencyInjection\ContainerBuilder;
1516
use Symfony\Component\DependencyInjection\Loader\PhpFileLoader;
1617
use Symfony\Component\DependencyInjection\Loader\IniFileLoader;
@@ -19,7 +20,7 @@
1920
use Symfony\Component\Config\Loader\LoaderResolver;
2021
use Symfony\Component\Config\FileLocator;
2122

22-
class DirectoryLoaderTest extends \PHPUnit_Framework_TestCase
23+
class DirectoryLoaderTest extends TestCase
2324
{
2425
private static $fixturesPath;
2526

0 commit comments

Comments
 (0)