Skip to content

Include WordPress-Extra rules in PHPCS configuration and fix resulting problems #691

@felixarntz

Description

@felixarntz

Our phpcs.xml.dist config file currently does not include the WordPress-Extra rules, which are recommended to use for plugins. We should add it and fix the resulting validation errors.

The latter will require manual assessment: Errors will either need to be actually fixed, or they may be invalid due to the automated detection being limited, in which case a code comment to exclude the check for the "offending" line should be added.

Metadata

Metadata

Labels

InfrastructureIssues for the overall performance plugin infrastructure[Plugin] Performance LabIssue relates to work in the Performance Lab Plugin only[Type] EnhancementA suggestion for improvement of an existing feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions