Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WordPress-Extra ruleset for phpcs #28426

Closed

Conversation

juanfra
Copy link
Member

@juanfra juanfra commented Jan 22, 2021

Description

Coding standards: Use WordPress-Extra ruleset to prevent potential security issues.

Fixes #18502

How has this been tested?

Added the rule and confirmed locally that there's triggering different warnings and errors.

Types of changes

Adding the <rule ref="WordPress-Extra"/> rule.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR.

@juanfra
Copy link
Member Author

juanfra commented Jan 22, 2021

I'll need to go through the warning and errors and suppressing/fixing.

@juanfra juanfra closed this Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coding standards: Use WordPress-Extra ruleset to prevent potential security issues
1 participant