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

PHP 7 errors when scanning with PHP Compatibility Checker #2

Open
ayavilevich opened this issue Jul 4, 2018 · 0 comments
Open

PHP 7 errors when scanning with PHP Compatibility Checker #2

ayavilevich opened this issue Jul 4, 2018 · 0 comments

Comments

@ayavilevich
Copy link

Hi, getting the following errors when scanning the plugin with "PHP Compatibility Checker" plugin.

Is this a false positive?

FILE: /home/.../wp-content/plugins/cherry-trending-posts/cherry-framework/modules/cherry-utility/inc/cherry-attributes-utilit.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 99 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /home/.../wp-content/plugins/cherry-trending-posts/cherry-framework/setup.php
-------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------
 14 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
-------------------------------------------------------------------------------------------------------------------------

FYI, other "Cherry *" plugins have warning as well. Mostly in relation to the use of the deprecated create_function() function.

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