Skip to content

Warnings related to func_get_args() using PHP Compatibility Checker #1214

@gizmecano

Description

@gizmecano

Description of issue

I have absolutely no idea if this is a real issue, but just for informing purpose, I point out that PHP Compatibility Checker reports two warnings.

Steps to recreate issue

  1. Check PHP version compatibility (7.3) using PHP Compatibility Checker

Current behavior

Compatible with 2 warnings and 0 error

Expected behavior

Compatible with 0 warning and 0 error

Additional Useful Information

The two reported warnings are:

wp-content/plugins/backupwordpress/backdrop/task.php
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
12 | 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 $callback was used, and possibly changed (by reference), on line 9.


wp-content/plugins/backupwordpress/classes/backup/class-backup-engine.php
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
192 | 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 $type was used, and possibly changed (by reference), on line 178.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions