Skip to content

Commit d00c36d

Browse files
committed
fix phpstan and tests
1 parent 29d78e7 commit d00c36d

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

tests/unit/PipelineTest.php

+5-11
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@
1919
/**
2020
* @internal
2121
*/
22-
#[\PHPUnit\Framework\Attributes\CoversNothing]
2322
final class PipelineTest extends IterableTestCase
2423
{
25-
#[\PHPUnit\Framework\Attributes\Test]
26-
public function extractorWithoutFlush(): void
24+
public function testExtractorWithoutFlush(): void
2725
{
2826
$pipeline = new Pipeline(new PipelineRunner(new NullLogger()));
2927

@@ -42,8 +40,7 @@ public function extract(): iterable
4240
);
4341
}
4442

45-
#[\PHPUnit\Framework\Attributes\Test]
46-
public function transformerWithoutFlush(): void
43+
public function testTransformerWithoutFlush(): void
4744
{
4845
$pipeline = new Pipeline(new PipelineRunner(new NullLogger()));
4946

@@ -65,8 +62,7 @@ public function transform(): \Generator
6562
);
6663
}
6764

68-
#[\PHPUnit\Framework\Attributes\Test]
69-
public function transformerWithFlush(): void
65+
public function testTransformerWithFlush(): void
7066
{
7167
$pipeline = new Pipeline(new PipelineRunner(new NullLogger()));
7268

@@ -93,8 +89,7 @@ public function flush(): ResultBucketInterface
9389
);
9490
}
9591

96-
#[\PHPUnit\Framework\Attributes\Test]
97-
public function loaderWithoutFlush(): void
92+
public function testLoaderWithoutFlush(): void
9893
{
9994
$pipeline = new Pipeline(new PipelineRunner(new NullLogger()));
10095

@@ -116,8 +111,7 @@ public function load(): \Generator
116111
);
117112
}
118113

119-
#[\PHPUnit\Framework\Attributes\Test]
120-
public function loaderWithFlush(): void
114+
public function testLoaderWithFlush(): void
121115
{
122116
$pipeline = new Pipeline(new PipelineRunner(new NullLogger()));
123117

0 commit comments

Comments
 (0)