PhpStorm 2019.2 Help

Code Inspection: Using CASE instead of conditional function and vice versa

This inspection reports CASE expressions which can be replaced with IF-like function calls or vice versa depending on the chosen preferences

Last modified: 3 September 2019