Repository navigation
Tags
Tags
hive-41897 Add qxpath(), qxparent() and qxprev(); deprecate the old n… …ames (v0.4.0) (#10) QuipXmlElement::xpath() overrides SimpleXMLElement::xpath() with an iterator return that no type covariant with array|null|false can express, so PHP 9 will reject it. The behaviour moves to new q* names on both QuipXmlElement and QuipXmlElementIterator; xpath(), xparent() and xprev() delegate to them and are marked @deprecated for removal in 1.0.0. QuipXmlElement::xpath() carries #[\ReturnTypeWillChange] so PHP 8.1+ prints no deprecation on class load. Internal callers and tests use the new names. Drop-in replacement for v0.3.5. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
PreviousNext