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

Code Inspection: 'switch' statement has missing branches

Last modified: 21 March 2023

Reports a switch statement on a variable of the type enum or union when the statement doesn't cover some value options from the type.