Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gizmecano opened this issue Jun 21, 2022 · 0 comments
Open

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

gizmecano opened this issue Jun 21, 2022 · 0 comments

Comments

@gizmecano
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant