Skip to content

Conversation

gharlan
Copy link
Member

@gharlan gharlan commented Jul 25, 2025

No description provided.

@coveralls
Copy link

coveralls commented Jul 25, 2025

Coverage Status

coverage: 94.728% (+0.01%) from 94.718%
when pulling a7181c3 on gharlan:fix-phpdoc
into 6f0c66d on PHP-CS-Fixer:master.

@@ -155,7 +155,7 @@ protected function applyFix(\SplFileInfo $file, Tokens $tokens): void
}

/**
* @return list<list<int>>
* @return list<array{int, int, int}>
Copy link
Member

Choose a reason for hiding this comment

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

OK, but i would rather convert tuple to dto {functionName, $openParenthesis, $closeParenthesis}

Copy link
Member Author

Choose a reason for hiding this comment

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

But this should be done in AbstractFunctionReferenceFixer and requires changes to all subclasses.
Is it ok to only fix the phpdoc here for now?

Copy link
Member

Choose a reason for hiding this comment

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

yeah, that's where I started with "OK"

@keradus keradus merged commit a084e6f into PHP-CS-Fixer:master Jul 26, 2025
30 of 31 checks passed
@gharlan gharlan deleted the fix-phpdoc branch July 26, 2025 09:06
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.

3 participants