You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of #10049, we are unable to dynamically set properties in a SimpleXMLElement. So code like $xmlElement->newProp = $newVal causes psalm to flag the line with a InvalidPropertyAssignment error.
Potential Solution
We suggest updating the Psalm stubs for SimpleXMLElement to include handling of the __set() method.
The text was updated successfully, but these errors were encountered:
Description
As of #10049, we are unable to dynamically set properties in a
SimpleXMLElement
. So code like$xmlElement->newProp = $newVal
causes psalm to flag the line with aInvalidPropertyAssignment
error.Potential Solution
We suggest updating the Psalm stubs for SimpleXMLElement to include handling of the __set() method.
The text was updated successfully, but these errors were encountered: