Skip to content

Commit

Permalink
InvalidEnumMethod requires PHP8.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Dec 12, 2022
1 parent 19a1005 commit 9db0eb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/DocumentationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ public function providerInvalidCodeParse(): array
case 'DuplicateEnumCaseValue':
case 'InvalidEnumBackingType':
case 'InvalidEnumCaseValue':
case 'InvalidEnumMethod':
case 'NoEnumProperties':
case 'OverriddenFinalConstant':
$php_version = '8.1';
Expand Down Expand Up @@ -436,7 +437,7 @@ public function testIssuesIndex(): void
throw new UnexpectedValueException("Issues index not found");
}

$issues_index_contents = file($issues_index, FILE_IGNORE_NEW_LINES|FILE_SKIP_EMPTY_LINES);
$issues_index_contents = file($issues_index, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
if ($issues_index_contents === false) {
throw new UnexpectedValueException("Issues index returned false");
}
Expand Down

0 comments on commit 9db0eb3

Please sign in to comment.