You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To maximize portability, we should determine the lowest available version of the one non-dev dependency (zendframework/zend-dom) and specify the widest range possible for loading the library.
Versions prior to 2.2.5 would cause the tests for this package to emit errors like the following:
1) Tests\MarkupAssertionsTraitTest::testAssertContainsSelector with data set "Tag with href attribute" ('a[href="https://example.com"]')
ErrorException: DOMXPath::query(): Invalid predicate
/phpunit-markup-assertions/vendor/zendframework/zend-dom/src/Query.php:317
/phpunit-markup-assertions/vendor/zendframework/zend-dom/src/Query.php:269
/phpunit-markup-assertions/vendor/zendframework/zend-dom/src/Query.php:214
/phpunit-markup-assertions/src/MarkupAssertionsTrait.php:106
/phpunit-markup-assertions/src/MarkupAssertionsTrait.php:26
/phpunit-markup-assertions/tests/MarkupAssertionsTraitTest.php:31
Refs #9.
To maximize portability, we should determine the lowest available version of the one non-dev dependency (zendframework/zend-dom) and specify the widest range possible for loading the library.
@mhujer's Composer tips article has some good details on how to automate the testing of this with Travis CI.
The text was updated successfully, but these errors were encountered: