[VarDumper] Fix error when reflected class has default Enum parameter in constructor#49292
[VarDumper] Fix error when reflected class has default Enum parameter in constructor#49292nicolas-grekas merged 1 commit intosymfony:5.4from
Conversation
|
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
|
Hey! Thanks for your PR. You are targeting branch "6.3" but it seems your PR description refers to branch "6.2". Cheers! Carsonbot |
0e8469e to
d6a7730
Compare
|
Thank you @kapiwko. |
Have classes:
Try to dump reflection of class Geometry:
Have error:
Symfony\Component\VarDumper\Caster\ConstStub::__construct(): Argument #2 ($value) must be of type string|int|float|null, App\Infrastructure\Geometry\GeometryType given, called in [...]/vendor/symfony/var-dumper/Caster/ReflectionCaster.php on line 296