-
Notifications
You must be signed in to change notification settings - Fork 0
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
Format code with PSR #78
Comments
@EmilyHazlehurst has raised an important point about using PHPDoc comments to describe functions. #91 (comment) e.g. /**
* Prevent all single posts, of any post type, from using the document(s) slug.
*
* @param bool $bad_slug Whether the slug is bad or not
* @param string $slug The document slug
* @return bool The sum of the two numbers.
*/ https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/ +1 from me. Let's have a team discussion. |
Adding to this, we could potentially:
|
Further research PSR-4. Implementation would mean adding Resources:
|
As @wilson1000-MoJ suggested in this review. #77 (comment)
It's important to use a standard for code readability, and minimise that chance of merge conflicts.
Let's revisit.
The text was updated successfully, but these errors were encountered: