Sebastian Bergmann
Sebastian Bergmann
I have no intention on improving this or even maintaining this, sorry.
Any update on getting this to work again?
The only thing I can promise that I would review such a pull request.
I am sorry but I did not have time yet to look at this. Maybe @theseer can have a look?
This branch has conflicts that must be resolved. Also, please explain what you want to achieve with this. So far, I do not see any benefit and am inclined to...
Even with https://github.com/sebastianbergmann/exporter/pull/35, I do not understand what it is you are trying to report.
@theseer Does this make sense to you?
Please avoid useless commit messages such as `Update DOMNodeComparator.php`.
`$canonicalize` is an optional parameter of `PHPUnit\Framework\TestCase::assertEquals()` (see https://github.com/sebastianbergmann/phpunit/blob/master/src/Framework/Assert.php#L546). From there, it is passed to `PHPUnit\Framework\Constraint\IsEqual` (see https://github.com/sebastianbergmann/phpunit/blob/master/src/Framework/Constraint/IsEqual.php#L56). Finally, it is passed to the `Comparator` object in https://github.com/sebastianbergmann/phpunit/blob/master/src/Framework/Constraint/IsEqual.php#L102. `SebastianBergmann\Comparator\DOMNodeComparator::assertEquals()` should...
`$document->formatOutput = true;` and `$document->normalizeDocument();` are needed to make the output in case of a failure readable.