• Resolved staceybl

    (@staceybl)


    Hi,

    Thank you for creating this plugin it has been really helpful in backing up our site on a daily basis.

    Planning on switching to PHP 7 and ran the PHP Compatibility Checker for PHP 7.0 compatibility and it found a few issues, see below. Was wondering if you have plans to update the code to be completely PHP 7 compatible?

    Thanks

    FILE: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/Doctrine/Common/Persistence/Proxy.php
    ——————————————————————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ——————————————————————————————————————————————————
    51 | WARNING | Method name “Proxy::__load” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    58 | WARNING | Method name “Proxy::__isInitialized” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ——————————————————————————————————————————————————

    FILE: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/Doctrine/Common/Proxy/Proxy.php
    ———————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 6 LINES
    ———————————————————————————————————————————————————-
    41 | WARNING | Method name “Proxy::__setInitialized” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    53 | WARNING | Method name “Proxy::__setInitializer” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    62 | WARNING | Method name “Proxy::__getInitializer” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    72 | WARNING | Method name “Proxy::__setCloner” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    81 | WARNING | Method name “Proxy::__getCloner” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    89 | WARNING | Method name “Proxy::__getLazyProperties” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ———————————————————————————————————————————————————-

    FILE: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/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: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/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: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/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: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/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: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/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: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/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: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/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: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/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: /home/wp_buzrx8/xenoninc.com/wp-content/plugins/dreamobjects/aws/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)
    ——————————————————————————————————————————————————————-

Viewing 1 replies (of 1 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    That’s due to the php sdk from Amazon being weird :/

    It does work, but the new sdk requires a full rewrite to remove the warnings and it’s not inconsequential work.

Viewing 1 replies (of 1 total)

The topic ‘PHP 7.0 Compatibility Code Issues’ is closed to new replies.