Closed jrfnl closed 5 years ago
@dingo-d If you're happy with it, you're welcome to merge it ;-)
I'm used to letting the person who opened the PR to merge it after approval 🙂
But good to know for the future reference 😄
I'm used to letting the person who opened the PR to merge it after approval
grin I'm used to never merge my own PRs, always considered that a bit of a no-no.
Related to PR #152 which added the wrong sniff ... oops.
Generic.CodeAnalsysis.EmptyStatement
(added in #152) checks for empty control structure leafs, i.e.Generic.CodeAnalysis.EmptyPHPStatement
(open PR upstream squizlabs/PHP_CodeSniffer#1814) /WordPress.CodeAnalysis.EmptyStatement
checks for empty PHP tags<?php ?>
and double semi-colons, likestatement; ;
.With this PR, the missing check is added.