fixes #10

closures are allowed on one line, so are excluded from closing brace
must be on line by itself and Each PHP statement must be on a line by
itself
fixes #6

switch statement elements are allowed on one line, so dont check for
closing brace when we're in a case or default