Skip to content

Commit 3824c0f

Browse files
minor #49244 [Tests] Migrate data providers to static ones (alexandre-daubois)
This PR was merged into the 5.4 branch. Discussion ---------- [Tests] Migrate data providers to static ones | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes-ish | New feature? | no | Deprecations? | no | Tickets | Related to #48668 | License | MIT | Doc PR | _NA_ Migrating data providers to static ones, based on the failing CI of symfony/symfony#48668 cc `@OskarStark` 👋 Commits ------- 36bc5ae37e [Tests] Migrate data providers to static ones
2 parents 0f26987 + 05ef8c2 commit 3824c0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Form/DoctrineOrmTypeGuesserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testTypeGuesser(string $type, $expected)
3535
$this->assertEquals($expected, $this->getGuesser($classMetadata)->guessType('TestEntity', 'field'));
3636
}
3737

38-
public function requiredType()
38+
public static function requiredType()
3939
{
4040
yield [Types::DATE_IMMUTABLE, new TypeGuess('Symfony\Component\Form\Extension\Core\Type\DateType', ['input' => 'datetime_immutable'], Guess::HIGH_CONFIDENCE)];
4141
yield [Types::DATE_MUTABLE, new TypeGuess('Symfony\Component\Form\Extension\Core\Type\DateType', [], Guess::HIGH_CONFIDENCE)];

0 commit comments

Comments
 (0)