-
Notifications
You must be signed in to change notification settings - Fork 101
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
PHP Upgrade: Compatibility issues found in 000-debug #1849
Comments
Lines 41 and 113 is simply |
@GaryJones In the current version of PHPCompatibility line 46 would already no longer be reported. Would you mind opening an issue about the code sample for the |
@shantanu2704 same goes for the other two warnings in this file. It is harder to detect there programmatically, but the $stuff value is only used in read-only context, meaning it is not a compatibility issue. I will continue to clean the code which should remove this and others warning in the future, but it should not be a blocker. |
This was now addressed in #1919 |
The following issues were found when scanning branch
master
for compatibility problems:Warning in 000-debug/logger.php: 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 "$stuff" was used, and possibly changed (by reference), on line 41.
vip-go-mu-plugins/000-debug/logger.php
Line 46 in 2f4d90e
Warning in 000-debug/logger.php: 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 "$stuff" was used, and possibly changed (by reference), on line 41.
vip-go-mu-plugins/000-debug/logger.php
Line 63 in 2f4d90e
Warning in 000-debug/logger.php: 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 "$stuff" was used, and possibly changed (by reference), on line 41.
vip-go-mu-plugins/000-debug/logger.php
Line 87 in 2f4d90e
Warning in 000-debug/logger.php: 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 "$stuff" was used, and possibly changed (by reference), on line 113.
vip-go-mu-plugins/000-debug/logger.php
Line 115 in 2f4d90e
This is an automated report.
The text was updated successfully, but these errors were encountered: