Skip to content

Commit

Permalink
Merge pull request #422 from PHPCSStandards/feature/test-othercontext…
Browse files Browse the repository at this point in the history
…sensitivekeywords-fix-codesample

Tests/OtherContextSensitiveKeywordsTest: fix unintentional parse error
  • Loading branch information
jrfnl authored Mar 29, 2024
2 parents 846fbf0 + 6f46b10 commit c5e1807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Core/Tokenizer/OtherContextSensitiveKeywordsTest.inc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function standAloneFalseTrueNullTypesAndMore(
/* testFalseIsKeywordAsParamType */ false $paramA,
/* testTrueIsKeywordAsParamType */ true $paramB,
/* testNullIsKeywordAsParamType */ null $paramC,
) /* testFalseIsKeywordAsReturnType */ false | /* testTrueIsKeywordAsReturnType */ true | /* testNullIsKeywordAsReturnType */ null {
): /* testFalseIsKeywordAsReturnType */ false | /* testTrueIsKeywordAsReturnType */ true | /* testNullIsKeywordAsReturnType */ null {
if ($a === /* testFalseIsKeywordInComparison */ false
|| $a === /* testTrueIsKeywordInComparison */ true
|| $a === /* testNullIsKeywordInComparison */ null
Expand Down

0 comments on commit c5e1807

Please sign in to comment.