Skip to content

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Jul 4, 2017

I've explicitely not added metrics for:

  • lowercase keyword as those are already recorded by the Generic.PHP.LowerCaseKeyword sniff
  • break/return not on a line by itself as that is already recorded by the Generic.Formatting.DisallowMultipleStatements sniff

Resolves #1541

Please let me know if there is anything you'd like me to change (phrasing and such).

I've explicitely not added metrics for:
* lowercase keyword as those are already recorded by the `Generic.PHP.LowerCaseKeyword` sniff
* `break`/`return` not on a line by itself as that is already recorded by the `Generic.Formatting.DisallowMultipleStatements` sniff
@jrfnl
Copy link
Contributor Author

jrfnl commented Dec 2, 2023

Closing as replaced by PHPCSStandards/PHP_CodeSniffer#33

@jrfnl jrfnl closed this Dec 2, 2023
@jrfnl jrfnl deleted the feature/3.x-metrics-for-switch-statements branch December 2, 2023 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Release
Development

Successfully merging this pull request may close these issues.

Switch statement metrics
1 participant