diff --git a/src/Steps/Dom/HtmlDocument.php b/src/Steps/Dom/HtmlDocument.php index 535e9f3..ec71b5a 100644 --- a/src/Steps/Dom/HtmlDocument.php +++ b/src/Steps/Dom/HtmlDocument.php @@ -5,6 +5,7 @@ use Crwlr\Utils\PhpVersion; use DOMNode; use Symfony\Component\DomCrawler\Crawler; + use const DOM\HTML_NO_DEFAULT_NS; /** diff --git a/tests/Steps/Dom/NodeTest.php b/tests/Steps/Dom/NodeTest.php index 19ebebd..6897e98 100644 --- a/tests/Steps/Dom/NodeTest.php +++ b/tests/Steps/Dom/NodeTest.php @@ -13,6 +13,7 @@ use Symfony\Component\DomCrawler\Crawler; use tests\Steps\Dom\_Stubs\HtmlNodeStub; use tests\Steps\Dom\_Stubs\XmlNodeStub; + use const DOM\HTML_NO_DEFAULT_NS; function helper_getSymfonyCrawlerInstanceFromSource(string $source, string $selectNode = 'body'): Crawler