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
CommentToPhpdocFixer - allow to ignore tags #4385
CommentToPhpdocFixer - allow to ignore tags #4385
Conversation
ping @julienfalque , can you take a look please? |
<?php /* header comment */ $foo = true; | ||
|
||
// @todo do something later | ||
$foo = 1; |
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.
Please add a test case with a comment before a structural element, I think the added tests here would still pass without the ignored_tags
, thus they don't prove the option works as expected.
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.
What do you mean? Isn't this case with a comment before a structural element? Can you prepare the one you are thinking about?
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.
Actually I misunderstood the code, sorry.
Thank you @kubawerlos. |
This PR was merged into the 2.16-dev branch. Discussion ---------- CommentToPhpdocFixer - allow to ignore tags Resolves #3628 Ping @julienfalque for review, I've made the list case insensitive - I figured it's more natural, would you agree? Commits ------- 0a46405 CommentToPhpdocFixer - allow to ignore tags
Resolves #3628
Ping @julienfalque for review, I've made the list case insensitive - I figured it's more natural, would you agree?