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

WP/ClassNameCase: update the class lists based on WP 6.3-RC1 #2317

Merged
merged 2 commits into from
Jul 23, 2023

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jul 23, 2023

WP/ClassNameCase: update the class lists based on WP 6.3-RC1

Based on a scan of WP Core at commit WordPress/wordpress-develop@6281ce4 using a preliminary sniff created for issue #1803.

Notes:

  • The order of some of these lists have small changes due to non-natural alphabetic sorting being used in the auto-generated lists.
  • The WP Core class list now includes various classes which are from non-externally maintained "external" dependencies.
  • WP 6.2 and up contains Requests 2.0+. As this is a class name check and the Requests 1.0 class names are still supported, I'm adding the 2.0 class names, instead of replacing the Request 1.x list.

WP/ClassNameCase: add list of Twenty* themes classes

... and scan for those as well. After all, (child) themes can use WPCS as well.

jrfnl added 2 commits July 23, 2023 13:28
Based on a scan of WP Core at commit WordPress/wordpress-develop@6281ce4 using a preliminary sniff created for issue 1803.

Notes:
* The order of some of these lists have small changes due to non-natural alphabetic sorting being used in the auto-generated lists.
* The WP Core class list now includes various classes which are from non-externally maintained "external" dependencies.
* WP 6.2 and up contains Requests 2.0+. As this is a class name check and the Requests 1.0 class names are still supported, I'm adding the 2.0 class names, instead of replacing the Request 1.x list.
@dingo-d dingo-d merged commit d65600c into develop Jul 23, 2023
@dingo-d dingo-d deleted the feature/classnamecase-update-class-lists branch July 23, 2023 15:55
@jrfnl jrfnl mentioned this pull request Aug 20, 2023
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants