PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
PSR12
/
Tests
/
Operators
<?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 ?
[-] OperatorSpacingUnitTest.1.inc
[edit]
[+]
..
[-] OperatorSpacingUnitTest.php
[edit]
[-] OperatorSpacingUnitTest.1.inc.fixed
[edit]
[-] OperatorSpacingUnitTest.3.inc
[edit]
[-] OperatorSpacingUnitTest.2.inc
[edit]