Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
:sparkles: New `CodeAnalysis.EmptyStatement` sniff #980
New sniff to detect superfluous semi-colons and empty PHP open-close tag combinations.
Includes an auto-fixer.
Added into a new
As these issues are not explicitly mentioned in the WP Core Coding Style Handbook and are more along the lines of best practices, I've added the sniff to the
For the current WP Core codestyle update, it would, however, be advisable to explicitly enable this sniff from the ruleset as issues which this sniff will fix, have already been detected in WP Core during a visual inspection.
N.B. This sniff should eventually be merged with the upstream