squizlabs/PHP_CodeSniffer — pull request #123 by aboks (2013-05-16 13:41:49+00:00)
Title: Let OperatorSpacingSniff also check whitespace around an inline if

Without this commit OperatorSpacingSniff considers
```
$a = $x?$y:$z;
```
to be fine. With this commit it counts 4 errors on that line for
the missing spaces around the '?' and the ':'.

Also includes a fix for the JS tokenizer not converting T_COLON to
T_INLINE_ELSE when used in an inline if expression. I don't know
whether this is the correct way to fix this or not, but it seems to
leave all other tests intact.