Skip to content

Commit fc7442b

Browse files
minor #49253 [PHPUnit 10] Use TestCase suffix for abstract tests in /Tests/ (OskarStark)
This PR was merged into the 6.3 branch. Discussion ---------- [PHPUnit 10] Use `TestCase` suffix for abstract tests in `/Tests/` | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Refs symfony/symfony#49233 | License | MIT | Doc PR | n/a Replaces #49234 Using `Test` suffix is deprecated since PHPUnit 10 Spotted in * symfony/symfony#49233 Commits ------- cb3db968e4 [PHPUnit 10] Use `TestCase` suffix for abstract tests in `/Tests/`
1 parent a1c1535 commit fc7442b

15 files changed

+19
-19
lines changed

Tests/Extension/AbstractBootstrap3HorizontalLayoutTest.php renamed to Tests/Extension/AbstractBootstrap3HorizontalLayoutTestCase.php

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

1212
namespace Symfony\Bridge\Twig\Tests\Extension;
1313

14-
abstract class AbstractBootstrap3HorizontalLayoutTest extends AbstractBootstrap3LayoutTest
14+
abstract class AbstractBootstrap3HorizontalLayoutTestCase extends AbstractBootstrap3LayoutTestCase
1515
{
1616
public function testLabelOnForm()
1717
{

Tests/Extension/AbstractBootstrap3LayoutTest.php renamed to Tests/Extension/AbstractBootstrap3LayoutTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
use Symfony\Component\Form\Extension\Core\Type\PercentType;
1515
use Symfony\Component\Form\FormError;
16-
use Symfony\Component\Form\Tests\AbstractLayoutTest;
16+
use Symfony\Component\Form\Tests\AbstractLayoutTestCase;
1717

18-
abstract class AbstractBootstrap3LayoutTest extends AbstractLayoutTest
18+
abstract class AbstractBootstrap3LayoutTestCase extends AbstractLayoutTestCase
1919
{
2020
public function testLabelOnForm()
2121
{

Tests/Extension/AbstractBootstrap4HorizontalLayoutTest.php renamed to Tests/Extension/AbstractBootstrap4HorizontalLayoutTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @author Hidde Wieringa <[email protected]>
2020
*/
21-
abstract class AbstractBootstrap4HorizontalLayoutTest extends AbstractBootstrap4LayoutTest
21+
abstract class AbstractBootstrap4HorizontalLayoutTestCase extends AbstractBootstrap4LayoutTestCase
2222
{
2323
public function testRow()
2424
{

Tests/Extension/AbstractBootstrap4LayoutTest.php renamed to Tests/Extension/AbstractBootstrap4LayoutTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*
2929
* @author Hidde Wieringa <[email protected]>
3030
*/
31-
abstract class AbstractBootstrap4LayoutTest extends AbstractBootstrap3LayoutTest
31+
abstract class AbstractBootstrap4LayoutTestCase extends AbstractBootstrap3LayoutTestCase
3232
{
3333
public function testRow()
3434
{

Tests/Extension/AbstractBootstrap5HorizontalLayoutTest.php renamed to Tests/Extension/AbstractBootstrap5HorizontalLayoutTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* @author Romain Monteil <[email protected]>
2626
*/
27-
abstract class AbstractBootstrap5HorizontalLayoutTest extends AbstractBootstrap5LayoutTest
27+
abstract class AbstractBootstrap5HorizontalLayoutTestCase extends AbstractBootstrap5LayoutTestCase
2828
{
2929
public function testRow()
3030
{

Tests/Extension/AbstractBootstrap5LayoutTest.php renamed to Tests/Extension/AbstractBootstrap5LayoutTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*
3737
* @author Romain Monteil <[email protected]>
3838
*/
39-
abstract class AbstractBootstrap5LayoutTest extends AbstractBootstrap4LayoutTest
39+
abstract class AbstractBootstrap5LayoutTestCase extends AbstractBootstrap4LayoutTestCase
4040
{
4141
public function testRow()
4242
{

Tests/Extension/FormExtensionBootstrap3HorizontalLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
use Twig\Environment;
2222
use Twig\Loader\FilesystemLoader;
2323

24-
class FormExtensionBootstrap3HorizontalLayoutTest extends AbstractBootstrap3HorizontalLayoutTest
24+
class FormExtensionBootstrap3HorizontalLayoutTest extends AbstractBootstrap3HorizontalLayoutTestCase
2525
{
2626
use RuntimeLoaderProvider;
2727

Tests/Extension/FormExtensionBootstrap3LayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
use Twig\Environment;
2222
use Twig\Loader\FilesystemLoader;
2323

24-
class FormExtensionBootstrap3LayoutTest extends AbstractBootstrap3LayoutTest
24+
class FormExtensionBootstrap3LayoutTest extends AbstractBootstrap3LayoutTestCase
2525
{
2626
use RuntimeLoaderProvider;
2727

Tests/Extension/FormExtensionBootstrap4HorizontalLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @author Hidde Wieringa <[email protected]>
2828
*/
29-
class FormExtensionBootstrap4HorizontalLayoutTest extends AbstractBootstrap4HorizontalLayoutTest
29+
class FormExtensionBootstrap4HorizontalLayoutTest extends AbstractBootstrap4HorizontalLayoutTestCase
3030
{
3131
use RuntimeLoaderProvider;
3232

Tests/Extension/FormExtensionBootstrap4LayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @author Hidde Wieringa <[email protected]>
2828
*/
29-
class FormExtensionBootstrap4LayoutTest extends AbstractBootstrap4LayoutTest
29+
class FormExtensionBootstrap4LayoutTest extends AbstractBootstrap4LayoutTestCase
3030
{
3131
use RuntimeLoaderProvider;
3232
/**

0 commit comments

Comments
 (0)