Get rid of reflection in ObjectSnapshot#37
Conversation
There was a problem hiding this comment.
This will be always true ? Can this change in php 7 for example ?
There was a problem hiding this comment.
Yup. Afterall, the tests are passing with php7 and even hhvm, so... And this should not change IMo, it's been there as long as object support was there so...
There was a problem hiding this comment.
ok so let's go we will see in few year if it's still the case.
There was a problem hiding this comment.
weird. @Taluu where are you find this hack ?
There was a problem hiding this comment.
during a simple (array) $object export :}
There was a problem hiding this comment.
and some other things can't remember which too (I think it was in the var_dumper component of symfony)
There was a problem hiding this comment.
Maybe I should check up with https://github.com/symfony/var-dumper/blob/master/Caster/Caster.php though, but then I would reintroduce some reflection...
|
Looks good |
Get rid of reflection in ObjectSnapshot
|
I'll merge that on master when I'll have some time |
|
It's also work with inherited attributes? |
Re-targeting of #34