Repository navigation
Document the naming convention for block-library PHP functions - #53777
Merged
anton-vlasenko merged 6 commits intoAug 18, 2023
Merged
anton-vlasenko merged 6 commits into
anton-vlasenko merged 6 commits into
Conversation
anton-vlasenko
requested review from
azaozz,
gziolo,
hellofromtonya,
ironprogrammer,
ockham and
tellthemachines
August 17, 2023 21:16
anton-vlasenko
marked this pull request as ready for review
August 17, 2023 21:28
gziolo
approved these changes
Aug 18, 2023
gziolo
left a comment
Member
There was a problem hiding this comment.
Thank you for the follow-up. I had only a minor note. Otherwise, this looks great.
|
|
||
| ### Naming convention for PHP functions | ||
|
|
||
| All PHP function names within the subdirectories of the `packages/block-library/src/` directory should start with one of the following prefixes: |
Member
There was a problem hiding this comment.
Should it be clarified that it applies to function definitions? Example:
Suggested change
| All PHP function names within the subdirectories of the `packages/block-library/src/` directory should start with one of the following prefixes: | |
| All declared PHP function names within the subdirectories of the `packages/block-library/src/` directory should start with one of the following prefixes: |
anton-vlasenko
deleted the
update/document-naming-convention-for-block-library-php-functions
branch
August 18, 2023 13:58
Contributor
Author
Thank you for the code review, @gziolo. I appreciate it. |
6 of 12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
This PR is intended to document the following naming convention: #52769 (comment).
Fixes #53732.
Why?
Documenting every naming convention is essential.
How?
ValidBlockLibraryFunctionNameSniff.Testing Instructions
Please review the suggested changes for accuracy, grammar, and style errors.
Testing Instructions for Keyboard
Screenshots or screencast