Skip to content

Commit 6caff2b

Browse files
Merge branch '3.2'
* 3.2: Updated PHPUnit namespaces Add missing conflict rules for phpunit
2 parents 0cf652d + e8068b4 commit 6caff2b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-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
{

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"symfony/var-dumper": "~3.2"
3636
},
3737
"conflict": {
38+
"phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
3839
"symfony/doctrine-bridge": "<2.7",
3940
"symfony/framework-bundle": "<2.7",
4041
"symfony/twig-bridge": "<2.7"

0 commit comments

Comments
 (0)