XOOPS / XoopsCore25

XOOPS Core 2.5.x (current release is 2.5.11: https://github.com/XOOPS/XoopsCore25/releases)
GNU General Public License v2.0
71 stars 59 forks source link

Update module.textsanitizer.php #1438

Closed luciorota closed 8 months ago

luciorota commented 9 months ago

fix deprecated code on php 8.2.0

mambax7 commented 8 months ago

@luciorota Please take a look at https://github.com/XOOPS/XoopsCore25/pull/1445 I've streamlined the $pattern (it was breaking some PhpUnit tests), and by using closure in $text, we don't to need check anymore for PHP version. Let me know what you think...