ZF-9244: Warnings emitted from DOMDocument should be suppressed.
Description
When using PHPUnit, all warnings are promoted to exceptions and can cause tests to fail when using Zend_Test_PHPUnit_ControllerTestCase#assertQuery(). This is because assertQuery() uses Zend_Dom_Query, which in turn uses DOMDocument for parsing.
In ZF 1.10.0, errors were suppressed but in 1.10.1 they are not.
Perhaps ZF Zend_Dom_Query should be capturing the warnings instead of letting them bubble up to the general error handler. See http://us.php.net/manual/en/…
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2010-02-23T11:44:59.000+0000
This is already resolved in trunk and the 1.10 release branch, and will release with 1.10.2.