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

[DependencyInjection] Fix type binding #45424

Merged
merged 1 commit into from Feb 16, 2022

Conversation

sveneld
Copy link
Contributor

@sveneld sveneld commented Feb 15, 2022

Q A
Branch? 4.4
Bug fix? yes
License MIT

If $type is a scalar compiler pass should not check it in function is_subclass_of($type, \UnitEnum::class), because is_subclass_of trying to autoload class with name array, string, etc.

Related to #44979

@carsonbot carsonbot added this to the 6.1 milestone Feb 15, 2022
@sveneld sveneld changed the base branch from 6.1 to 5.4 Feb 15, 2022
@sveneld
Copy link
Contributor Author

@sveneld sveneld commented Feb 16, 2022

@nicolas-grekas take a look, please

@nicolas-grekas nicolas-grekas removed this from the 6.1 milestone Feb 16, 2022
@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Feb 16, 2022
@nicolas-grekas nicolas-grekas changed the base branch from 5.4 to 4.4 Feb 16, 2022
@nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Feb 16, 2022

Thank you @sveneld.

@nicolas-grekas nicolas-grekas merged commit 8056126 into symfony:4.4 Feb 16, 2022
6 of 10 checks passed
@sveneld sveneld deleted the fix_type_bindings branch Feb 16, 2022
@fabpot fabpot mentioned this pull request Feb 28, 2022
@fabpot fabpot mentioned this pull request Feb 28, 2022
@fabpot fabpot mentioned this pull request Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants