Unused 'switch' branch

Last modified: 03 December 2024

Reports the branches in switch statements that do not belong to the set of enum cases and as a result are never executed.

See Enumerations (php.net) for details.