PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Code Inspection: 'switch' statement has no 'default' branch

Last modified: 21 March 2023

Reports a switch statement without a default clause when some possible values are not enumerated.