squizlabs/PHP_CodeSniffer — pull request #155 by robocoder (2013-09-20 20:46:42+00:00)
Title: PSR2 Switch declaration

The first test case emits false "ERROR | Case statements must not be defined using curly braces".

The second test case emits php notices.

I excluded my current "fix" as it only addresses symptoms. I suspect the two cases share the same root cause.