Topic: Deprecated variables & directives since PHP 7.2
Hello! Thanks for htmlawed.
While running phpcs for testing compatibiltiy with php 7.3 (the recent debian stable - buster provides this version), we found these issues:
[[
-------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 7 WARNINGS AFFECTING 5 LINES
--------------------------------------------------------------------------------------------------------
371 | WARNING | INI directive 'track_errors' is deprecated since PHP 7.2
371 | WARNING | The variable '$php_errormsg' is deprecated since PHP 7.2; Use error_get_last() instead
371 | WARNING | The variable '$php_errormsg' is deprecated since PHP 7.2; Use error_get_last() instead
372 | WARNING | INI directive 'track_errors' is deprecated since PHP 7.2
373 | WARNING | The variable '$php_errormsg' is deprecated since PHP 7.2; Use error_get_last() instead
379 | WARNING | The variable '$php_errormsg' is deprecated since PHP 7.2; Use error_get_last() instead
381 | WARNING | INI directive 'track_errors' is deprecated since PHP 7.2
--------------------------------------------------------------------------------------------------------
]]
Hope they can be fixed in a future release of htmlawed.
Thanks!
--jose