-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DI] Fix Preloader exception when preloading a class with an unknown parent/interface #38713
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
Conversation
Did you check if this problem exists on 4.4 as well? If yes, we need to fix it there. |
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.
The change looks correct to me. Just some remarks on the test setup.
src/Symfony/Component/DependencyInjection/Tests/Dumper/PreloaderTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Preload/DummyWithInterface.php
Outdated
Show resolved
Hide resolved
Can you rebase your changes on 4.4 then? If not, that's okay as well. I can do that while merging. |
Oh, and thank you very much for your PR, of course. 😃 |
7059fae
to
173fa68
Compare
I rebased it now. Will you port the fix to 5.1 then? |
The branches are merged periodically. Changes merged to the 4.4 branch will also be shipped with the next 5.1 release. |
173fa68
to
b6ae485
Compare
Thank you @rgeraads. |
Fixes Preloader exception when preloading a class with an unknown parent/interface.