How to make cases in switch statement to be indented in Emacs

How to make Emacs to indent cases like this switch ($foo) { case "foo": $foo .= " bar"; break case "bar": $foo .= " baz"; break default: $foo .= "