-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix returns on PHPDoc only #22014
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 returns on PHPDoc only #22014
Conversation
IMHO, you can replace |
|
Lint checks are broken ? Did the checks locally and no problems... |
There are network problems today with some services... :/ |
trasher
left a comment
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.
Excepted useless changes (see comments), LGTM.
This a rework on the declined previous PR : #22002
It fixes #21794 after creating a new branch based on up-to-date 11.0/bugfixes
Only PHPDoc annotations.
Got a doubt though on showFor* methods in
src/Change_Ticket.phpandsrc/Change_Problem.php: PHPStan accept ONLYvoid|falsebut adding areturn;statement could be an option (return+voidis rejected by PHPStan so i'm open to any suggestion on those cases).