- Removed Scrutinzer, Stickler, and TravisCI configurations.
- Allow any/all versions for testing, remove Mockery (as it is unused) and introduce a Diff check for the more complex comparisons with running unit tests.
- Add parameter type hints up to PHP 7.0 standards.
- Stop warnings about null being used as a value.
- Replace invalid XML document warnings with an exception.
- Add support for namespaces in root node (Thank you blagi #20).
- Throw
Exception
for invalid characters when usingArray2XML::createXML()
for normal values,@value
, andcdata
values (Thank you Jānis Elmeris #17). - Introduce GitHub workflow, testing the library on all versions from PHP 7.0 to 8.3
- Introduce a proxy for PHPUnit's deprecation of
expectExceptionMessageRegExp($messageRegExp)
. - Partially fix the PHPUnit
phpunit.xml
configuration file. - Use the new proxy for all tests.
- Replace the deprecated docblock entries for
@exceptedException
/@expectedExceptionMessage
with their equivalent method calls$this->expectedException()
/$this->exceptedExceptionMessage()
. - Fix all data providers that have keys for the value in the datasets to match the parameter names of the test method. The use of named parameters was introduced in PHP 8.0.
- Introduce the new attributes mechanism for data providers. This does NOT conflict with the older
@dataProvider
docblock annotation.
- Fix namespaced attributes (Thank you Nitin Patel and Mirko Temperini #10)
- Allow alternative labels to be defined (Thank you Frank Aguirre #16)
- Fix leading, embedded, and trailing newlines (no longer trims the data being).
- Limited support for <!DOCTYPE> (only PUBLIC and SYSTEM DTDs supported at the moment) (Thank you Nezabor #8)
- Zero values/cdata are now handled appropriately (Thank you Daniel Carl #6)
- Dropped support for PHP < 7.0
- Ownership transferred to Digitickets
- Empty values/attributes/cdata are now handled appropriately (Fixes #3)
- Reintroduce support for hhvm
- Upgrade dependencies
- Fixed hhvm reading of broken xml not generating an exception
- Added CHANGELOG and removed version data from classes
- Enhanced to support Travis-CI, Scrutinizer.
- Enhanced with appropriate .gitattributes and .gitignore
- Introduced PHPUnit and unit tests
- Added README
- ISSUE: Removed support for hhvm in Travis-CI.
- Fix empty nodes no longer reset any accumulated content for that level (Fixes #2)
- Enhanced static analysis and added DocBlocks
- Fix namespace issue when combined with Symfony (Thank you Maxence Winandy #1)
- Initial commit of Lalit Patel's XML2Array and Array2XML classes that allow XML <=> Array operation.