Review 10.4 Abandoned

65756[BUGFIX] Fix ObjectAccess::isPropertyGettable for ArrayAccess objects

Anja Leichsenring CR 0 V 0 Normal +40 −11 updated 11/01/20, 07:50

Commit message

While introducing symfony/property-access, method isPropertyGettable
of class ObjectAccess had been adjusted in a manner which made the
mixed usage of array access and regular property access impossible.

If an object implemented ArrayAccess and used regular properties,
all of those properties were reported inacessible/non-gettable which
is not true.

With this patch, regular properties and those defined magically
via ArrayAccess are detected correctly as gettable.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3