Operators
Table of Contents
Classes
- ConcatPositionSniff
- Enforces that the concatenation operator in multi-line concatenations is in a preferred position, either always at the start of the next line or always at the end of the previous line.
- DisallowLogicalAndOrSniff
- Enforce the use of the boolean `&&` and `||` operators instead of the logical `and`/`or` operators.
- DisallowShortTernarySniff
- Disallow the use of short ternaries.
- DisallowStandalonePostIncrementDecrementSniff
- Disallow the use of post-in/decrements in stand-alone statements and discourage the use of multiple increment/decrement operators in a stand-alone statement.
- StrictComparisonsSniff
- Enforce the use of strict comparisons.
- TypeSeparatorSpacingSniff
- Enforce no space around union type and intersection type separators.