Skip to content

Commit

Permalink
Merge pull request #547 from fredden/mutation-testing/PSR12.Operators…
Browse files Browse the repository at this point in the history
….OperatorSpacing

Add test file for PSR12.Operators.OperatorSpacing
  • Loading branch information
jrfnl authored Jul 14, 2024
2 parents f021713 + addd1da commit 08792e9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
// There is logic in the sniff which protects itself from reading beyond the end
// of a file when an inline-if (ternary) operator is detected. This test case
// covers that scenario. This is an intentional parse error.
// Note that there is (intentionally) no trailing newline at the end of this file.
$var = true ?

0 comments on commit 08792e9

Please sign in to comment.