• Resolved Daniel

    (@gabu69)


    Recently I installed PHP Compatibility Checker plugin to check if all my plugins where compatible with PHP 7.

    Your plug in displays these Warnings/Errors:

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorClassFactory.php
    ——————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
    ——————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.php
    ——————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
    ——————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorInterface.php
    ——————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
    ——————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/Model.php
    ——————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
    ——————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php
    ——————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
    ——————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php
    ——————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
    ——————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php
    ——————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
    ——————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php
    ——————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
    ——————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.php
    ——————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————————————————————————————————-
    3 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
    ——————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/sebastian/global-state/src/Snapshot.php
    ———————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————–
    383 | WARNING | INI directive ‘register_long_arrays’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    ———————————————————————————————————————–

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/phpdocumentor/type-resolver/src/Types/Mixed.php
    ————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ————————————————————————————————————————————————————-
    20 | ERROR | ‘mixed’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_CLASS)
    ————————————————————————————————————————————————————-

    FILE: /var/www/site.com/public_html/wp-content/plugins/cloudflare/vendor/phpdocumentor/type-resolver/src/Types/Resource.php
    —————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————————————————————-
    20 | ERROR | ‘resource’ is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_CLASS)
    —————————————————————————————————————————————————————-

    Are these real errorswarnings?

Viewing 1 replies (of 1 total)
  • Hi @gabu69,

    Cloudflare plugin is PHP7 compatible. Those warnings will not effect how the plugin works in any way. We’ve a fix upcoming which removes those warning. Feel free to upgrade.

    Thaks

Viewing 1 replies (of 1 total)
  • The topic ‘Possibly not PHP 7.0 compatible.’ is closed to new replies.