PHP code should not throw any WordPress.NamingConventions.PrefixAllGlobals
type linter errors
#45817
Labels
[Type] Code Quality
Issues or PRs that relate to code quality
What problem does this address?
There is an effort to make Gutenberg compatible with extended WordPress code style standards -
WordPress-Extra
, thus easing the backporting process.Currently, Gutenberg's PHP code is not up to these strict standards.
This issue is created to fix code style errors that prevent enabling the
WordPress.NamingConventions.PrefixAllGlobals
linter rule.Please see this issue to get additional context.
Additionally, you can find the specifics of WordPress coding standards here - https://developer.wordpress.org/coding-standards/wordpress-coding-standards.
What is your proposed solution?
There are false positives and "actual" linter errors.
The "real" errors that violate
WordPress.NamingConventions.PrefixAllGlobals
family of rules should be fixed.The text was updated successfully, but these errors were encountered: