8000 Make data providers static · symfony/symfony@6475c14 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6475c14

Browse files
Make data providers static
1 parent 8275f13 commit 6475c14

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Component/Notifier/Bridge/Bluesky/Tests/BlueskyTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ public function testWithEmbed(BlueskyOptions $blueskyOptions, string $expectedJs
317317
$this->assertSame('103254962155278888', $result->getMessageId());
318318
}
319319

320-
public function sendMessageWithEmbedDataProvider(): iterable
320+
public static function sendMessageWithEmbedDataProvider(): iterable
321321
{
322322
yield 'With media' => [
323323
'options' => (new BlueskyOptions())->attachMedia(new File(__DIR__.'/fixtures.gif'), 'A fixture'),

src/Symfony/Component/PropertyInfo/Tests/PropertyInfoCacheExtractorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function getProperties(string $class, array $context = []): ?array
136136
}
137137
}
138138

139-
public function provideNestedExtractorWithoutGetTypeImplementationData()
139+
public static function provideNestedExtractorWithoutGetTypeImplementationData()
140140
{
141141
yield ['bar', Type::string()];
142142
yield ['baz', Type::int()];

src/Symfony/Component/PropertyInfo/Tests/PropertyInfoExtractorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getTypes(string $class, string $property, array $context = []):
5151
}
5252
}
5353

54-
public function provideNestedExtractorWithoutGetTypeImplementationData()
54+
public static function provideNestedExtractorWithoutGetTypeImplementationData()
5555
{
5656
yield ['bar', Type::string()];
5757
yield ['baz', Type::int()];

0 commit comments

Comments
 (0)
0