lint/control-flow/no-switch-continue
In the modernize set. Safe fix.
What it does
Switch case must not be ended with continue but with break.
Configuration
[lint.rules]
"control-flow/no-switch-continue" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
switch_continue_to_break(php-cs-fixer)switch-continue-to-break(mago-linter)