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

fix: no_superfluous_phpdoc_tags must honor multiline docs #7697

Merged
merged 7 commits into from
Jan 8, 2024

Conversation

mvorisek
Copy link
Contributor

@mvorisek mvorisek commented Jan 8, 2024

fix #7692

@mvorisek
Copy link
Contributor Author

mvorisek commented Jan 8, 2024

@staabm can you please confirm this fix fixes all your issues?

Also thank you for #7692 (comment) test case, it was much more easier to look into it than into #7692 (comment) with many different fixers applied in consequence.

@mvorisek mvorisek marked this pull request as ready for review January 8, 2024 15:29
Copy link
Member

@julienfalque julienfalque left a 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 @var tag on a property.

@mvorisek
Copy link
Contributor Author

mvorisek commented Jan 8, 2024

👍

Please add a test case with a @var tag on a property.

done

@Wirone Wirone enabled auto-merge (squash) January 8, 2024 15:56
@Wirone Wirone merged commit 6cc4ebd into PHP-CS-Fixer:master Jan 8, 2024
25 checks passed
@mvorisek mvorisek deleted the fix_7692_revert_ws_parse branch January 8, 2024 16:04
@staabm
Copy link
Contributor

staabm commented Jan 8, 2024

hey everyone,

thanks for the fast fix. I just checked my 2 local reproduces from #7692 and can confirm these are no longer a problem.

thanks again!

@staabm
Copy link
Contributor

staabm commented Jan 8, 2024

Also thank you for #7692 (comment)

here was another reproducer in the same way

danog pushed a commit to zoonru/PHP-CS-Fixer that referenced this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no_superfluous_phpdoc_tags removes actual docs when these are after phpDoc tag
4 participants