php 7.2 compatibility?
-
found these warnings when i ran a pre-upgrade compatibility check on my site’s plugins:
FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Mail/sendgrid-php-3.2.0/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorInterface.php
—————————————————————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————————————————————————
3 | WARNING | ‘resource’ 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_NAMESPACE)
—————————————————————————————————————————————————————————————FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Mail/sendgrid-php-3.2.0/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorFactoryInterface.php
———————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————————————————————————-
3 | WARNING | ‘resource’ 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_NAMESPACE)
———————————————————————————————————————————————————————————————-FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Mail/sendgrid-php-3.2.0/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php
——————————————————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————————————
3 | WARNING | ‘resource’ 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_NAMESPACE)
——————————————————————————————————————————————————————————FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Mail/sendgrid-php-3.2.0/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/AbstractResourceIteratorFactory.php
———————————————————————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————————————————————————
3 | WARNING | ‘resource’ 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_NAMESPACE)
———————————————————————————————————————————————————————————————FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Mail/sendgrid-php-3.2.0/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorApplyBatched.php
——————————————————————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————————————————
3 | WARNING | ‘resource’ 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_NAMESPACE)
——————————————————————————————————————————————————————————————FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Mail/sendgrid-php-3.2.0/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/MapResourceIteratorFactory.php
—————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————————————————————————-
3 | WARNING | ‘resource’ 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_NAMESPACE)
—————————————————————————————————————————————————————————————-FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Mail/sendgrid-php-3.2.0/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/CompositeResourceIteratorFactory.php
———————————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————————————————————————-
3 | WARNING | ‘resource’ 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_NAMESPACE)
———————————————————————————————————————————————————————————————-FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Mail/sendgrid-php-3.2.0/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIteratorClassFactory.php
——————————————————————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————————————————
3 | WARNING | ‘resource’ 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_NAMESPACE)
——————————————————————————————————————————————————————————————FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Mail/sendgrid-php-3.2.0/vendor/guzzle/guzzle/src/Guzzle/Service/Resource/Model.php
——————————————————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————————————
3 | WARNING | ‘resource’ 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_NAMESPACE)
——————————————————————————————————————————————————————————FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Connectivity-Test/registered-domain-libs-master/generateEffectiveTLDs.php
———————————————————————————————————————————————————-
FOUND 2 ERRORS AFFECTING 2 LINES
———————————————————————————————————————————————————-
153 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_split() instead
179 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; Use preg_split() instead
———————————————————————————————————————————————————-FILE: /nas/content/live/adaptify/wp-content/plugins/postman-smtp/Postman/Postman-Configuration/PostmanSmtpDiscovery.php
———————————————————————————————————————–
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
———————————————————————————————————————–
87 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
96 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
———————————————————————————————————————–Can you let me know if it’s safe to upgrade to php 7.2?
Cheers!
- The topic ‘php 7.2 compatibility?’ is closed to new replies.