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

PhpdocAnnotationWithoutDotFixer - Handle trailing whitespaces #3867

Merged
merged 1 commit into from Aug 1, 2018
Merged

PhpdocAnnotationWithoutDotFixer - Handle trailing whitespaces #3867

merged 1 commit into from Aug 1, 2018

Conversation

kubawerlos
Copy link
Contributor

Solves #3857 - I guess @SpacePossum will have some more fancy test cases.

@SpacePossum
Copy link
Contributor

SpacePossum commented Jul 5, 2018

this looks awesome to me, thanks so much :)
hope that we get a second reviewer on this

@SpacePossum SpacePossum changed the title Handle trailing whitespaces in PhpdocAnnotationWithoutDotFixer PhpdocAnnotationWithoutDotFixer - Handle trailing whitespaces Jul 5, 2018
@SpacePossum
Copy link
Contributor

(on a side note, if this fixer is about changing text to a sentence without a stop maybe we should unify what we consider a stop (so not only dots), like done here)

*/',
'<?php
/**
* @throws \Exception having whitespaces after dot, yet I am fixed. '.'
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add test case for trailing tab character too, as we are using \h

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I've missed that. Done.

@SpacePossum SpacePossum added the RTM Ready To Merge label Jul 30, 2018
@keradus keradus added this to the 2.12.3 milestone Aug 1, 2018
@keradus keradus removed the RTM Ready To Merge label Aug 1, 2018
@keradus
Copy link
Member

keradus commented Aug 1, 2018

Thank you @kubawerlos.

@keradus keradus merged commit 3897460 into PHP-CS-Fixer:2.12 Aug 1, 2018
keradus added a commit that referenced this pull request Aug 1, 2018
…es (kubawerlos)

This PR was squashed before being merged into the 2.12 branch (closes #3867).

Discussion
----------

PhpdocAnnotationWithoutDotFixer - Handle trailing whitespaces

Solves #3857 - I guess @SpacePossum will have some more fancy test cases.

Commits
-------

3897460 PhpdocAnnotationWithoutDotFixer - Handle trailing whitespaces
@kubawerlos kubawerlos deleted the fix/phpdoc-annotation-without-dot-fixer-to-handle-trailing-whitespaces branch August 1, 2018 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants