Skip to content

Commit 2df54fe

Browse files
authored
PHPUnit 12 fixes (#1030)
1 parent 67f2533 commit 2df54fe

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tests/Fixer/AbstractFixerTestCase.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ final public function testCodeSampleEndsWithNewLine(): void
9797
self::assertMatchesRegularExpression('/\\n$/', $codeSample->getCode());
9898
}
9999

100-
/**
101-
* @coversNothing
102-
*/
103100
final public function testCodeSampleIsChangedDuringFixing(): void
104101
{
105102
$fixer = self::getFixer();

tests/PriorityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final class PriorityTest extends TestCase
3737
/**
3838
* @dataProvider providePriorityCases
3939
*/
40-
public function testPriorities(FixerInterface $firstFixer, FixerInterface $secondFixer): void
40+
public function testPriorities(FixerInterface $firstFixer, FixerInterface $secondFixer, string $expected, string $input): void
4141
{
4242
self::assertLessThan($firstFixer->getPriority(), $secondFixer->getPriority());
4343
}

0 commit comments

Comments
 (0)