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

Docs/WordPress.WhiteSpace.CastStructureSpacing #1738

Merged
merged 9 commits into from
Jul 5, 2019
Merged

Docs/WordPress.WhiteSpace.CastStructureSpacing #1738

merged 9 commits into from
Jul 5, 2019

Conversation

ckanitz
Copy link
Contributor

@ckanitz ckanitz commented Jun 20, 2019

Adds documentation for the WordPress.WhiteSpace.CastStructureSpacing

Related to #1722

Copy link
Member

@GaryJones GaryJones left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

@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!.

@ckanitz
Copy link
Contributor Author

ckanitz commented Jul 2, 2019

@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!.

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?

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.

Hi @ckanitz Thanks for making those changes. All looks good to me now. Approving & merging. 🎉

@jrfnl jrfnl merged commit bf3ef48 into WordPress:develop Jul 5, 2019
@jrfnl jrfnl added this to the 2.x Next milestone Jul 8, 2019
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