Description
While analysing something for the WordPress Core CS project, I needed metrics on various bits of switch statements and realized that the most applicable sniff PSR2.ControlStructures.SwitchDeclaration
does not record any metrics.
For my purposes, I've added these now locally, but I was wondering if there is any interest in (partially) adding these anyhow so they will be accessible for all analysed projects through https://squizlabs.github.io/PHP_CodeSniffer/analysis/
If so, I'd be happy to send in a PR based on the code I've already created.