PHP 7
-
Hi!
I’ve tested all my plugins with this PHP linter:
https://www.ads-software.com/plugins/php-compatibility-checker/Unfortunately I found a problem with your plugin:
FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/OpenCloud/Common/Collection/ResourceIterator.php
———————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————-
200 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
———————————————————————————————————————————-FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/OpenCloud/Common/Service/AbstractService.php
————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————————-
142 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘resource’ (since version 7.0)
————————————————————————————————————————————-FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/OpenCloud/Common/Base.php
—————————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————————————————————–
312 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
—————————————————————————————————————————–FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/OpenCloud/Common/Collection.php
—————————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————————————————————–
306 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
—————————————————————————————————————————–FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/OpenCloud/Identity/Service.php
—————————————————————————————————————————–
FOUND 5 ERRORS AFFECTING 5 LINES
—————————————————————————————————————————–
94 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
121 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
135 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
164 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
192 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
—————————————————————————————————————————–FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/OpenCloud/OpenStack.php
—————————————————————————————————————————–
FOUND 7 ERRORS AFFECTING 7 LINES
—————————————————————————————————————————–
132 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
136 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
206 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
210 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
396 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
397 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
400 | ERROR | ‘resource’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
—————————————————————————————————————————–FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/PEAR/HTTP/Request2.php
———————————————————————————————————————————–
FOUND 2 ERRORS AFFECTING 2 LINES
———————————————————————————————————————————–
929 | ERROR | The use of function set_magic_quotes_runtime is discouraged from PHP version 5.3 and forbidden from PHP version 7.0
944 | ERROR | The use of function set_magic_quotes_runtime is discouraged from PHP version 5.3 and forbidden from PHP version 7.0
———————————————————————————————————————————–FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/SwiftMailer/classes/Swift/ByteStream/FileByteStream.php
—————————————————————————————————————————————–
FOUND 2 ERRORS AFFECTING 2 LINES
—————————————————————————————————————————————–
87 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
91 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
—————————————————————————————————————————————–FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/SwiftMailer/classes/Swift/KeyCache/DiskKeyCache.php
————————————————————————————————————————————-
FOUND 4 ERRORS AFFECTING 4 LINES
————————————————————————————————————————————-
180 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
187 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
207 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
213 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
————————————————————————————————————————————-FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/SwiftMailer/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php
——————————————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————
509 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
——————————————————————————————————————————————————FILE: /home/kristia2/www/filmpuls.ch/wordpress/wp-content/plugins/backwpup/vendor/SwiftMailer/classes/Swift/Transport/SimpleMailInvoker.php
——————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————-
33 | WARNING | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
——————————————————————————————————————————————-Would be great if you can fix this!
All the best, Kristian
- The topic ‘PHP 7’ is closed to new replies.