Skip to content

Commit c6ec4c0

Browse files
committed
add @internal tag on markSkippedForErrorInPreviousRepetition
1 parent 6a9fadd commit c6ec4c0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Framework/RepeatTestSuite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* @internal This class is not covered by the backward compatibility promise for PHPUnit
2222
*/
23-
final class RepeatTestSuite implements Reorderable, Test
23+
final readonly class RepeatTestSuite implements Reorderable, Test
2424
{
2525
/**
2626
* @var non-empty-list<PhptTestCase>|non-empty-list<TestCase>

src/Framework/TestCase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,9 @@ final public function wasPrepared(): bool
965965
return $this->wasPrepared;
966966
}
967967

968+
/**
969+
* @internal This method is not covered by the backward compatibility promise for PHPUnit
970+
*/
968971
public function markSkippedForErrorInPreviousRepetition(): void
969972
{
970973
$message = 'Test repetition failure';

0 commit comments

Comments
 (0)