The style guide does mention this: "When using the ternary operator be sure to wrap the conditional expression in parentheses and break the ternary into three lines."

https://github.com/behance/handbook/wiki/PHP-Coding-Practices