Repository navigation
3.0.0
⚠️ Breaking changes
- Dropped the Doctrine docblock-annotation marker support. The property markers
XmlAttribute,XmlNodeValueandXmlCDataSectionare now recognised only as native PHP attributes (#[XmlAttribute],#[XmlNodeValue],#[XmlCDataSection]). The legacy@XmlAttribute/@XmlNodeValue/@XmlCDataSectionPHPDoc syntax is no longer read. - Removed the
doctrine/annotationsdependency (it was abandoned and only powered the docblock path). - Raised the PHP floor to
^8.3— PHP 8.2 is no longer supported.
🔧 Internal
- Marker resolution reads a property's attributes in a single reflection pass (exact name match, since the marker classes are
final). - Tested against PHPUnit 12 / 13 (PHP 8.3 → 12, 8.4/8.5 → 13); Rector raised to the PHP 8.3 level.
🧭 Migration
- Replace docblock markers with the native attribute form:
@XmlAttribute→#[XmlAttribute], etc. - Move to PHP 8.3 or newer.
The 2.x line (Doctrine docblock annotations, PHP 8.2) is maintained on the 2.x branch.