php-html-parser icon indicating copy to clipboard operation
php-html-parser copied to clipboard

Upgrade dependency paquettg/string-encode (1.0.1) to ^2.1.1

Open peterjaap opened this issue 5 years ago • 2 comments

https://github.com/paquettg/string-encoder

peterjaap avatar Dec 08 '20 04:12 peterjaap

The Encode object has been removed in 2.0.0 and Encoder should be used in these places;

https://github.com/paquettg/php-html-parser/blob/f5c2dd9b8abd03cfe9383efe2575c7ff0d9711ea/src/PHPHtmlParser/DTO/Tag/AttributeDTO.php#L56 https://github.com/paquettg/php-html-parser/blob/4e01a438ad5961cc2d7427eb9798d213c8a12629/src/PHPHtmlParser/Dom/Tag.php#L138 https://github.com/paquettg/php-html-parser/blob/4e01a438ad5961cc2d7427eb9798d213c8a12629/src/PHPHtmlParser/Dom/Parser.php#L107

peterjaap avatar Dec 08 '20 04:12 peterjaap

This should be fixed by PR https://github.com/paquettg/php-html-parser/pull/289

phpfui avatar Oct 07 '21 18:10 phpfui