You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe i just don't understand its purpose, but i don't think the Squiz.ControlStructures.SwitchDeclaration.SpacingAfterDefaultBreak sniff behaves as expected wrt statements spanning multiple lines.
Maybe i just don't understand its purpose, but i don't think the
Squiz.ControlStructures.SwitchDeclaration.SpacingAfterDefaultBreak
sniff behaves as expected wrt statements spanning multiple lines.Test file:
PHPCS reports:
Putting the statement on a single line (
throw new \Exception('bar');
) makes the error go away.The text was updated successfully, but these errors were encountered: