Skip to content

Commit f7d0ecf

Browse files
committed
chore: Use modern domhtml internally in test
1 parent 95db4b2 commit f7d0ecf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/Imp/Stub/HtmlViewer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
use Horde\Util\Domhtml;
4+
35
/**
46
* Copyright 2010-2026 Horde LLC (http://www.horde.org/)
57
*
@@ -42,7 +44,7 @@ public function runTest($html)
4244
'phish' => true,
4345
];
4446

45-
$dom = new Horde_Domhtml($html);
47+
$dom = new Domhtml($html);
4648

4749
foreach ($dom as $node) {
4850
$this->_node($dom->dom, $node);

0 commit comments

Comments
 (0)