'if' can be replaced with 'match' expression
Reports the if
statements inside if-elseif-else
constructs that use strict comparisons (===
) and could be replaced with match
expressions.
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |
Last modified: 13 July 2023