-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Squiz.Commenting.ClosingDeclarationComment
- add missing .fixed
file for test-suite, and fix a bug found during
#340
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.
LGTM! Thanks @fredden
Nah, I'll include it 😉 While reviewing this change I did notice a number of other things, but those don't need to be addressed in this PR.
We should either open an issue about these or if you're up for it, open a follow-up PR to address these issues. |
Yes, I noticed a lot of untested cases while looking for the bug that I fixed here. I decided not to fix all of issues that I noticed (which you've now documented above - thanks) in this pull request, to keep the scope small. I thought that we can re-assess this sniff in scope of #146 when we get time for that. |
Hi, @fredden! I was talking with @jrfnl about things that I could do to help the PHPCS project, and she mentioned that I could work on the items from the list above. But first, she suggested I check with you to see if you are working or planning to work on those items? Please let me know if you prefer to work on those or if you would like help. Thanks. |
@rodrigoprimo thanks for checking in. You're welcome to work on those; they're not currently on my list. |
Thanks, @fredden. I will work on it next week. |
Description
This pull request adds a missing
.fixed
file for an existing test forSquiz.Commenting.ClosingDeclarationComment
.While I was reviewing the automatically-created ".fixed" file (from
phpcbf
), I noticed a bug. I'm fixing that bug in this same pull request, but am happy to move that elsewhere if desired.Suggested changelog entry
Squiz.Commenting.ClosingDeclarationComment
- no longer add extra newline when adding a missing commentRelated issues/external references
Related to #299
Types of changes
PR checklist