Skip to content

Commit 6b0fb0a

Browse files
irkallaczjschroed91
authored andcommitted
Resolve PHP 7.3 compatibility issue to fix #79 (#80)
* Update composer.json Change the sunra/php-simple-html-dom-parser" for the kub-at/php-simple-html-dom-parser * Update ListDiffLines.php use KubAT\PhpSimple\HtmlDomParser;
1 parent 48c70a9 commit 6b0fb0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"require": {
2222
"php": ">=5.3.3",
2323
"ezyang/htmlpurifier": "^4.7",
24-
"sunra/php-simple-html-dom-parser": "^1.5"
24+
"kub-at/php-simple-html-dom-parser": "^1.7"
2525
},
2626
"require-dev": {
2727
"phpunit/phpunit": "~5.0",

lib/Caxy/HtmlDiff/ListDiffLines.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Caxy\HtmlDiff;
44

55
use Caxy\HtmlDiff\Strategy\ListItemMatchStrategy;
6-
use Sunra\PhpSimple\HtmlDomParser;
6+
use KubAT\PhpSimple\HtmlDomParser;
77

88
class ListDiffLines extends AbstractDiff
99
{

0 commit comments

Comments
 (0)