PHP compatibility issue
-
Hi, I was trying to test PHP compatibility with PHP Compatibility Checker plugin and found that your plugin has some issues as below >
FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/Inflector/InflectorInterface.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/Inflector/FrenchInflector.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/Inflector/EnglishInflector.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/UnicodeString.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/ByteString.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/Slugger/AsciiSlugger.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/Slugger/SluggerInterface.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/AbstractUnicodeString.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/AbstractString.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/LazyString.php
———————————————————————————————————————————————————————–
FOUND 2 ERRORS AFFECTING 2 LINES
———————————————————————————————————————————————————————–
12 | ERROR | ‘string’ is a 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_NAMESPACE)
119 | ERROR | Throwing exceptions from __toString() was not allowed prior to PHP 7.4
———————————————————————————————————————————————————————–FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/Exception/InvalidArgumentException.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/Exception/ExceptionInterface.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/Exception/RuntimeException.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/CodePointString.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/string/Resources/functions.php
———————————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————————————————-
12 | ERROR | ‘string’ is a 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_NAMESPACE)
———————————————————————————————————————————————————————-FILE: /public_html/wp-content/plugins/geoip-detect/vendor/symfony/polyfill-intl-normalizer/Normalizer.php
———————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————–
93 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
———————————————————————————————————————–Also are you planning to update this plugin with respect to support PHP version 8.1?
- The topic ‘PHP compatibility issue’ is closed to new replies.