Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: add sniffs to check there is no blank line before a function cl…
…ose brace > 1. There should be no blank line between the content of a function and the function’s closing brace. Includes removing this rule from the WPCS native ruleset in which we already enforced it (as it will now be inherited from the `WordPress` ruleset). Refs: * https://make.wordpress.org/core/2020/03/20/updating-the-coding-standards-for-modern-php/ - Function closing brace section * https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#remove-trailing-spaces * WordPress/wpcs-docs#110 Loosely related to #1101
- Loading branch information