PHP 8.1 Compatibility Error
-
This is the following output when using php code sniffer to check for php 8.1 compatibility, should we fix this ourselves or wait for the next release? Thanks!
FILE: google-sitemap-generator\sitemap-core.php
——————————————————————————–
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
——————————————————————————–
2204 | ERROR | Since PHP 7.0, functions inspecting arguments, like
| | debug_backtrace(), no longer report the original value as
| | passed to a parameter, but will instead provide the current
| | value. The parameter “$last_mod” was changed on line 2196.
2232 | WARNING | Since PHP 7.0, functions inspecting arguments, like
| | debug_backtrace(), no longer report the original value as
| | passed to a parameter, but will instead provide the current
| | value. The parameter “$type” was used, and possibly changed
| | (by reference), on line 2224.
——————————————————————————–
- The topic ‘PHP 8.1 Compatibility Error’ is closed to new replies.