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

The ::class constant #104

Merged
merged 1 commit into from
Aug 28, 2022
Merged

The ::class constant #104

merged 1 commit into from
Aug 28, 2022

Conversation

dingo-d
Copy link
Member

@dingo-d dingo-d commented Aug 20, 2022

This PR depends on #102. Once that is merged, this PR should be rebased to the master branch.

The PR adds rules about the ::class constant and is the continuation of the additions of 'modern' PHP code in the WordPress PHP Coding Standards handbook based on the make post by Juliette Reinders Folmer.

Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some pre-lim review notes.

wordpress-coding-standards/php.md Outdated Show resolved Hide resolved
wordpress-coding-standards/php.md Outdated Show resolved Hide resolved
@dingo-d dingo-d marked this pull request as ready for review August 26, 2022 08:25
@jrfnl
Copy link
Member

jrfnl commented Aug 26, 2022

Needs a rebase, but otherwise okay.

@dingo-d dingo-d requested a review from jrfnl August 28, 2022 09:37
Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Merging this now as @GaryJones is AFK for the next few weeks. If needs be, additional textual tweaks can still be made in a follow up commit.

@jrfnl jrfnl merged commit d5dba5e into master Aug 28, 2022
@jrfnl jrfnl deleted the class-constant branch August 28, 2022 12:49
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.

2 participants