Skip to content

Commit e8068b4

Browse files
minor #21686 Updated PHPUnit namespaces (peterrehm)
This PR was merged into the 3.2 branch. Discussion ---------- Updated PHPUnit namespaces | Q | A | ------------- | --- | Branch? | 3.2 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Follow Up of #21663 Commits ------- c2e80e3 Updated PHPUnit namespaces
2 parents 578e373 + 2a848ee commit e8068b4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Tests/ChoiceList/Loader/CallbackChoiceLoaderTest.php

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

1212
namespace Symfony\Component\Form\Tests\ChoiceList\Loader;
1313

14+
use PHPUnit\Framework\TestCase;
1415
use Symfony\Component\Form\ChoiceList\LazyChoiceList;
1516
use Symfony\Component\Form\ChoiceList\Loader\CallbackChoiceLoader;
1617

1718
/**
1819
* @author Jules Pietri <[email protected]>
1920
*/
20-
class CallbackChoiceLoaderTest extends \PHPUnit_Framework_TestCase
21+
class CallbackChoiceLoaderTest extends TestCase
2122
{
2223
/**
2324
* @var \Symfony\Component\Form\ChoiceList\Loader\CallbackChoiceLoader

Tests/Extension/Core/DataTransformer/DateIntervalTestCase.php

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

1212
namespace Symfony\Component\Form\Tests\Extension\Core\DataTransformer;
1313

14-
abstract class DateIntervalTestCase extends \PHPUnit_Framework_TestCase
14+
use PHPUnit\Framework\TestCase;
15+
16+
abstract class DateIntervalTestCase extends TestCase
1517
{
1618
public static function assertDateIntervalEquals(\DateInterval $expected, \DateInterval $actual)
1719
{

0 commit comments

Comments
 (0)