-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
DebugClassLoader fails with Symfony's BC layers #42303
Comments
Thank you for this issue. I cannot reproduce this. Could you help me with a commit or PR to https://github.com/Nyholm/sf-issue-42303? |
I don't quite understand why is this making a difference, but bug is reproducible when using symfony/symfony instead of symfony/messenger. I've pushed a commit. edit: Ah right, symfony/messenger requires symfony/doctrine-messenger, but symfony/symfony doesn't |
When I test with I have not looked for the commit that fixed the issue. Can you confirm that |
You can't reproduce with commit I pushed now? I still get same error with 5.3.x-dev |
I run into a similar problem upgrading from
@ostrolucky puts me in the right track stating that "Ah right, symfony/messenger requires symfony/doctrine-messenger, but symfony/symfony doesn't". The app is still requiring Adding PS : thank you @ostrolucky !! |
Any news on this? It's still an issue for me. |
If I understand correctly, this is only an issue when using the |
Alright then. Thanks. |
It isn't deprecated (yet). It's still being updated and isn't marked as abandoned, nor no official announcement was posted about this AFAIK. |
I'm not sure why this happens only when using symfony/symfony, but the solution is to not use it. Not sure it's worth more of maintainers' time. Closing therefor. |
I submitted #45563 to deprecate requiring symfony/symfony. |
Symfony version(s) affected: 5.3.5
Description
These kind of "BC layers" don't work in combination with Symfony's DebugClassLoader
How to reproduce
produces
Possible Solution
Additional context
ref: doctrine/DoctrineBundle#1373
The text was updated successfully, but these errors were encountered: