PhpStorm 2019.2 Help

Code Inspection: Constant conditional expression

Reports conditional expressions of the form true? result1: result2 or false? result1: result2 .These expressions sometimes occur as the result of automatic refactorings, and may obviously be simplified.

Last modified: 23 August 2019