-
-
Notifications
You must be signed in to change notification settings - Fork 490
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
Docs/WordPress.WhiteSpace.CastStructureSpacing #1738
Docs/WordPress.WhiteSpace.CastStructureSpacing #1738
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ckanitz Hi Christopher, thank you again for this PR.
Just two more points as per the inline comments:
- The sniff only checks the space before, not on both sides of the type cast.
- The docs are just missing the
<em> ...</em>
tags to highlight good/bad code, but we weren't that clear about that in the initial explanation, so sorry about that!.
Co-Authored-By: Juliette <[email protected]>
Co-Authored-By: Juliette <[email protected]>
Co-Authored-By: Juliette <[email protected]>
Thanks for your reply and sorry for checking out so late. I commited the changes you suggested. Are there any changes left for me to add? |
Co-Authored-By: Juliette <[email protected]>
Co-Authored-By: Juliette <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ckanitz Thanks for making those changes. All looks good to me now. Approving & merging. 🎉
Adds documentation for the WordPress.WhiteSpace.CastStructureSpacing
Related to #1722