Skip to content

Commit f7e8ed0

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 3824c0f commit f7e8ed0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/Form/Type/EntityTypeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
use Symfony\Component\Form\Exception\RuntimeException;
3636
use Symfony\Component\Form\Exception\UnexpectedTypeException;
3737
use Symfony\Component\Form\Forms;
38-
use Symfony\Component\Form\Tests\Extension\Core\Type\BaseTypeTest;
38+
use Symfony\Component\Form\Tests\Extension\Core\Type\BaseTypeTestCase;
3939
use Symfony\Component\Form\Tests\Extension\Core\Type\FormTypeTest;
4040
use Symfony\Component\OptionsResolver\Exception\InvalidOptionsException;
4141
use Symfony\Component\OptionsResolver\Exception\MissingOptionsException;
4242

43-
class EntityTypeTest extends BaseTypeTest
43+
class EntityTypeTest extends BaseTypeTestCase
4444
{
4545
public const TESTED_TYPE = 'Symfony\Bridge\Doctrine\Form\Type\EntityType';
4646

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"symfony/cache": "^5.4|^6.0",
3131
"symfony/config": "^4.4|^5.0|^6.0",
3232
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
33-
"symfony/form": "^5.4.9|^6.0.9",
33+
"symfony/form": "^5.4.21|^6.2.7",
3434
"symfony/http-kernel": "^5.0|^6.0",
3535
"symfony/messenger": "^4.4|^5.0|^6.0",
3636
"symfony/doctrine-messenger": "^5.1|^6.0",
@@ -57,7 +57,7 @@
5757
"phpunit/phpunit": "<5.4.3",
5858
"symfony/cache": "<5.4",
5959
"symfony/dependency-injection": "<4.4",
60-
"symfony/form": "<5.1",
60+
"symfony/form": "<5.4.21|>=6,<6.2.7",
6161
"symfony/http-kernel": "<5",
6262
"symfony/messenger": "<4.4",
6363
"symfony/property-info": "<5",

0 commit comments

Comments
 (0)