Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PropertyInfo] Support for the never return type #42628

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

Merged
merged 1 commit into from
Aug 23, 2021

Conversation

derrabus
Copy link
Member

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Part of #41552
License MIT
Doc PR N/A

If the PropertyInfo component encounters the new never return type, it currently exits with an exception that isn't helpful. This PR proposes to skip that type because we cannot extract type information from it.

@derrabus derrabus force-pushed the bugfix/property-info-never branch from 28662cd to 091769a Compare August 18, 2021 18:17
@derrabus derrabus changed the title [PropertyInfo] Support for the never return type [PropertyInfo] Support for the never return type Aug 18, 2021
@@ -233,7 +233,7 @@ public function php71TypesProvider()
}

/**
* * @dataProvider php80TypesProvider
Copy link
Member

Choose a reason for hiding this comment

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

should be fixed upstream? right?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's fine to fix it in this PR. I'm targeting our lowest branch already.

@derrabus derrabus merged commit 9606430 into symfony:4.4 Aug 23, 2021
@derrabus derrabus deleted the bugfix/property-info-never branch August 23, 2021 12:54
This was referenced Aug 30, 2021
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.

7 participants