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

[DI] Add check around class_alias for generated proxy classes #37144

Merged
merged 1 commit into from Jun 9, 2020

Conversation

enumag
Copy link
Contributor

@enumag enumag commented Jun 8, 2020

Q A
Branch? 5.1
Bug fix? yes
New feature? no
Deprecations? nofiles -->
Tickets Fix #37059
License MIT
Doc PR

Here is the requested fix.

I'd like to note that I consider this kind of a workaround. I don't know why the issue only started to appear with Symfony 5.1 and not before. There might be some other problem hidden somewhere else.

@nicolas-grekas nicolas-grekas changed the title Add class_alias for generated proxy classes [DI] Add class_alias for generated proxy classes Jun 8, 2020
@nicolas-grekas nicolas-grekas changed the title [DI] Add class_alias for generated proxy classes [DI] Add check around class_alias for generated proxy classes Jun 8, 2020
@nicolas-grekas nicolas-grekas added this to the 5.1 milestone Jun 8, 2020
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

Thanks, this looks good to me.
Can you please fix tests? There is a fixture that needs an update.

@enumag enumag force-pushed the fix-proxies branch 2 times, most recently from c4f1a54 to 990dfd5 Compare June 9, 2020 06:41
@enumag
Copy link
Contributor Author

enumag commented Jun 9, 2020

@nicolas-grekas Fixed. Travis is still failing but it doesn't seem related.

@jeremyFreeAgent
Copy link
Contributor

Thanks @enumag ♥️

@nicolas-grekas
Copy link
Member

Thank you @enumag.

@nicolas-grekas nicolas-grekas merged commit 6d6d989 into symfony:5.1 Jun 9, 2020
@lugosium
Copy link

lugosium commented Jun 9, 2020

Thank you @enumag

1 similar comment
@CarpentierMartin
Copy link

Thank you @enumag

@PedroTroller
Copy link
Contributor

Perfect, thank you @enumag !

@fabpot fabpot mentioned this pull request Jun 12, 2020
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

8 participants