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

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

Last modified: 13 May 2022

Reports a switch statement without default branches in CoffeeScript content. Such statements make tracking bugs difficult, if unexpected cases are ignored silently.