Deprecated php8.1 code
-
This plugin contains code deprecated for php8.1. If a fix in the works?
$ phpcs --standard=PHPCompatibilityWP --runtime-set testVersion 8.1 --extensions=php --ignore=*/vendor/*,*/node_modules/* ./plugins/safe-redirect-manager/ FILE: /Volumes/EVO/Active_Sites/NESN/vm/app/public/wp-content/plugins/safe-redirect-manager/inc/functions.php ------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------- 336 | WARNING | INI directive 'auto_detect_line_endings' is deprecated since PHP 8.1 ------------------------------------------------------------------------------------------------------------- FILE: /Volumes/EVO/Active_Sites/NESN/vm/app/public/wp-content/plugins/safe-redirect-manager/inc/classes/class-srm-post-type.php ------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------------------- 670 | WARNING | The constant "FILTER_SANITIZE_STRING" is deprecated since PHP 8.1 676 | WARNING | The constant "FILTER_SANITIZE_STRING" is deprecated since PHP 8.1 ------------------------------------------------------------------------------------------------------------------------------- Time: 233ms; Memory: 16MB
- The topic ‘Deprecated php8.1 code’ is closed to new replies.