• Resolved gusisilva

    (@gusisilva)


    Executing a php8 compatibility scan by vendor/bin/phpcs -p . --standard=PHPCompatibilityWP --runtime-set testVersion 8.0 --extensions=php --report-full=compati.txt I found:

    FILE: /mnt/c/Users/Gustavo Silva/projects/wp-atomic-bulletin/wp-content/plugins/wp-pagenavi/core.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------
     15 | WARNING | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original
        |         | value as passed to a parameter, but will instead provide the current value. The parameter "$args" was
        |         | used, and possibly changed (by reference), on line 14.
    ------------------------------------------------------------------------------------------------------------------------
    
    FILE: /mnt/c/Users/Gustavo Silva/projects/wp-atomic-bulletin/wp-content/plugins/wp-pagenavi/scb/AdminPage.php
    ------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ------------------------------------------------------------------------------------------------------------------------
     318 | WARNING | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original
         |         | value as passed to a parameter, but will instead provide the current value. The parameter
         |         | "$submit_button" was used, and possibly changed (by reference), on line 309.
    ------------------------------------------------------------------------------------------------------------------------
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Warning compatibility PHP 8.0’ is closed to new replies.