Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Moises

PHP compatibility warnings from Admin Columns Pro and AC Woocommerce

Hello, today I did a compatibility test to update my website from PHP 7.0.x to PHP 7.1.x.
There were some warnings from your plugin “Admin Columns Pro” and “Admin Columns Pro – WooCommerce”. Obviously I know this does not stop the plugin, however it is interesting to check the warnings to avoid future problems :)

LOG:

FILE: /htdocs/wp-content/plugins/admin-columns-pro/classes/Search/Comparison/Meta/Numeric.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10 | WARNING | 'numeric' is a soft reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_CLASS)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /htdocs/wp-content/plugins/admin-columns-pro/classes/Sorting/Model/CustomField/Numeric.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8 | WARNING | 'numeric' is a soft reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_CLASS)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /htdocs/wp-content/plugins/admin-columns-pro/classes/Editing/Model/CustomField/Numeric.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7 | WARNING | 'numeric' is a soft reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_CLASS)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FILE: /htdocs/wp-content/plugins/admin-columns-pro/classes/Filtering/Model/CustomField/Numeric.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7 | WARNING | 'numeric' is a soft reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_CLASS)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /htdocs/wp-content/plugins/ac-addon-woocommerce/classes/Filtering/Numeric.php
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7 | WARNING | 'numeric' is a soft reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_CLASS)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

5 years, 1 month ago
Stefan van den Dungen Gronovius
Developer

Thanks for your input!
We are aware of this and it’s on our list to change in our code.
But at this moment this is ‘just’ a soft warning and at this moment of writing our plugin works fine on PHP 7.3.
Anyway, we’ll have to change this eventually so we’ll make sure this is changed in the future.

5 years, 1 month ago

You must be logged in to reply to this topic.