PhpStorm 2019.2 Help

Code Inspection: Constant on right side of comparison

Reports on comparison operations with constant values on their right-hand side. Somecoding conventions specify that constants should be on the left-hand side of comparisons.

Last modified: 23 August 2019