Seeing deprivation warnings on compare html5 inline using php 8.2.18

Created on 3 March 2025, about 1 month ago

Seeing the following deprecation warnings in compare view:

Deprecated function: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in Caxy\HtmlDiff\ListDiffLines->listByLines() (line 87 of /var/www/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/ListDiffLines.php).
Deprecated function: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in Caxy\HtmlDiff\Table\TableDiff->createDocumentWithHtml() (line 630 of /var/www/vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/TableDiff.php).

Install the module, enable it and try to compare revisions using the inline html5 view.

Need to bump version of "caxy/php-htmldiff": "^0.1.14" to "caxy/php-htmldiff": "^0.1.16" in the composer file to support php 8.2.

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇬🇧United Kingdom alistairmc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024