Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ternary whitespace check ? #988
Looks like whitespace around ternary operators is currently not checked.
Should it be ?
Upstream this has been added to the
$a = ($a > 10)?$a:10;
will yield no errors.
I would expect this to error on:
As a side-note, I'm also missing these notifications: