Closed morozov closed 6 years ago
Thank you for your report.
Fixed in https://github.com/slevomat/coding-standard/commit/1926e819fdfcebc54f13963e7d1a9cbd5ffbae38
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I'm using the standard as part of doctrine/coding-standard. Please consider the example:
This code gets flagged with the following error:
If automatically fixed, the file turns into:
The logic is now changed and instead of yielding one value, the function yields both.