Skip to content

Commit 08792e9

Browse files
authored
Merge pull request #547 from fredden/mutation-testing/PSR12.Operators.OperatorSpacing
Add test file for PSR12.Operators.OperatorSpacing
2 parents f021713 + addd1da commit 08792e9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
// There is logic in the sniff which protects itself from reading beyond the end
3+
// of a file when an inline-if (ternary) operator is detected. This test case
4+
// covers that scenario. This is an intentional parse error.
5+
// Note that there is (intentionally) no trailing newline at the end of this file.
6+
$var = true ?

0 commit comments

Comments
 (0)