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

Standardize the order of the rules in the handbook #115

Open
dingo-d opened this issue Aug 26, 2022 · 0 comments
Open

Standardize the order of the rules in the handbook #115

dingo-d opened this issue Aug 26, 2022 · 0 comments

Comments

@dingo-d
Copy link
Member

dingo-d commented Aug 26, 2022

Idea that Juliette sugessted in the PR was to standardize the order of certain parts of a rule in the handbook:

  1. CS rules
  2. Possible code samples
  3. Usage in Core (if needed)
  4. PHP feature info (if needed)

Also, the color of the boxes would be:

  • [info] (blue) - for information about PHP features and how to use them.
  • [alert] (yellow) - for information on whether or not something can be used in WP Core.
  • [warning] (red) - for anything really problematic (like using the wp namespace prefix).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant