• Resolved aaronmcquade

    (@aaronmcquade)


    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.
    ——————————————————————————–

Viewing 1 replies (of 1 total)
  • Thanks for reaching out to us. Our plugin is working fine with PHP 8.1. We will resolve the PHPCS fixes with our upcoming releases.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP 8.1 Compatibility Error’ is closed to new replies.