Skip to content

bug: VoidReturnFixer - fix for intervening attributes#6863

Merged
Wirone merged 1 commit intoPHP-CS-Fixer:masterfrom
paulbalandan:voidreturn-attributes
Apr 20, 2023
Merged

bug: VoidReturnFixer - fix for intervening attributes#6863
Wirone merged 1 commit intoPHP-CS-Fixer:masterfrom
paulbalandan:voidreturn-attributes

Conversation

@paulbalandan
Copy link
Copy Markdown
Contributor

Fixes #6690

@paulbalandan paulbalandan force-pushed the voidreturn-attributes branch from 8ac26f5 to 0c0f90a Compare March 26, 2023 17:47
@coveralls
Copy link
Copy Markdown

coveralls commented Mar 26, 2023

Pull Request Test Coverage Report for Build 4551786819

  • 8 of 8 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 93.002%

Totals Coverage Status
Change from base Build 4523908666: 0.001%
Covered Lines: 22698
Relevant Lines: 24406

💛 - Coveralls

Copy link
Copy Markdown
Member

@Wirone Wirone left a comment

Choose a reason for hiding this comment

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

I believe it would be good if there was a integration test that would ensure that @return void is removed when no_superfluous_phpdoc_tags fixer is enabled 🤔. WDYT @kubawerlos?

Comment thread src/Fixer/FunctionNotation/VoidReturnFixer.php Outdated
@paulbalandan paulbalandan force-pushed the voidreturn-attributes branch from 0c0f90a to 3845042 Compare March 29, 2023 08:18
@paulbalandan
Copy link
Copy Markdown
Contributor Author

I believe it would be good if there was a integration test that would ensure that @return void is removed when no_superfluous_phpdoc_tags fixer is enabled 🤔. WDYT @kubawerlos?

I believe that would be out-of-scope of this PR. The bug report is not of a priority issue.

@Wirone Wirone merged commit bfd06e7 into PHP-CS-Fixer:master Apr 20, 2023
@Wirone
Copy link
Copy Markdown
Member

Wirone commented Apr 20, 2023

Thank you, @paulbalandan 🍻

@paulbalandan paulbalandan deleted the voidreturn-attributes branch April 21, 2023 11:44
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.

PHP Attributes should not be treated as comments

5 participants