Skip to content

Commit 443f0f2

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 91d949f commit 443f0f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tests/AbstractCrawlerTest.php renamed to Tests/AbstractCrawlerTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Symfony\Component\DomCrawler\Image;
1919
use Symfony\Component\DomCrawler\Link;
2020

21-
abstract class AbstractCrawlerTest extends TestCase
21+
abstract class AbstractCrawlerTestCase extends TestCase
2222
{
2323
use ExpectDeprecationTrait;
2424

Tests/Html5ParserCrawlerTest.php

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

1212
namespace Symfony\Component\DomCrawler\Tests;
1313

14-
class Html5ParserCrawlerTest extends AbstractCrawlerTest
14+
class Html5ParserCrawlerTest extends AbstractCrawlerTestCase
1515
{
1616
public static function getDoctype(): string
1717
{

Tests/NativeParserCrawlerTest.php

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

1212
namespace Symfony\Component\DomCrawler\Tests;
1313

14-
class NativeParserCrawlerTest extends AbstractCrawlerTest
14+
class NativeParserCrawlerTest extends AbstractCrawlerTestCase
1515
{
1616
public static function getDoctype(): string
1717
{

0 commit comments

Comments
 (0)