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

[ErrorHandler] [DebugClassLoader] Fix some new return types support #48618

Merged
merged 1 commit into from Dec 13, 2022

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

It looks like we don't advise return types based on the PHP version anymore so let's add true and never (false and null are already there).

We can now advise returning null since it's valid. I treated it as a special case because the nullable logic is complicated 😅

@fancyweb fancyweb requested a review from yceruto as a code owner Dec 12, 2022
@carsonbot carsonbot added this to the 5.4 milestone Dec 12, 2022
@carsonbot carsonbot changed the title [ErrorHandler][DebugClassLoader] Fix some new return types support [ErrorHandler] [DebugClassLoader] Fix some new return types support Dec 12, 2022
@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit c47bedf into symfony:5.4 Dec 13, 2022
8 of 11 checks passed
@fancyweb fancyweb deleted the eh/new-r-type branch Dec 13, 2022
@fabpot fabpot mentioned this pull request Dec 16, 2022
This was referenced Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants