-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
PhpDumper tries to access undefined method Alias::isShared #33942
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
Comments
|
Sure, however I'm not sure what I'm doing here. I've spent a few hours trying to understand the internal of the php dumper and wondering where was the bug. What do you think? |
For information, the testsuite of the bundle passes with |
this patch is clearly needed |
* 4.3: fix PHP 5.6 compatibility [Cache] fixed TagAwareAdapter returning invalid cache Add plus character `+` to legal mime subtype Make Symfony\Contracts\Service\Test\ServiceLocatorTest abstract bug #33942 [DI] Add extra type check to php dumper [Dotenv] search variable values in ENV first then env file [PropertyInfo] Respect property name case when guessing from public method name [VarDumper] fix resetting the "bold" state in CliDumper Missing argument in method_exists SCA: added missing break in a loop
* 4.4: fix PHP 5.6 compatibility [Cache] fixed TagAwareAdapter returning invalid cache Add plus character `+` to legal mime subtype Make Symfony\Contracts\Service\Test\ServiceLocatorTest abstract bug #33942 [DI] Add extra type check to php dumper [Dotenv] search variable values in ENV first then env file [PropertyInfo] Respect property name case when guessing from public method name [VarDumper] fix resetting the "bold" state in CliDumper Missing argument in method_exists SCA: added missing break in a loop
Symfony version(s) affected: 4.2+
Description
PhpDumper tries to access unknown method
isShared
from classSymfony\Component\DependencyInjection\Alias
.Here's the exact PHP error:
How to reproduce
symfony/dependency-injection:4.3.*
)./vendor/bin/phpunit
)I haven't been able (yet) to create a more minimalist environment, sorry about that!
Possible Solution
In
PhpDumper::isSingleUsePrivateNode
, apply the following patch:Additional context
Further investigations are being led on prooph/service-bus-symfony-bundle#79
The text was updated successfully, but these errors were encountered: