PHP 5.6 compatibility and oter
-
I’ll just dump the whole report. I don’t know if you feel like looking into all of these, but some of them are obvious incompatibilites with old PHP versions you might want to fix, or you bump the required PHP version.
testVersion was configured to 5.6-99.0
/tmp/advanced-access-manager # phpcs --standard=PHPCompatibility -p .
…………………..W……………………………… 60 / 184 (33%)
……………………………..E……………..E.EE… 120 / 184 (65%)
E…………E…………………..E…………….E….S 180 / 184 (98%)
SSS. 184 / 184 (100%) FILE: /tmp/advanced-access-manager/application/Service/Content.php FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE 1020 | WARNING | Method name "AAM_Service_Content::__mapPostTypeCaps" is discouraged; PHP has reserved all method names with a double underscore prefix | | for future use. FILE: /tmp/advanced-access-manager/application/Backend/tmpl/page/subject-panel.php FOUND 2 ERRORS AFFECTING 2 LINES 73 | ERROR | Late static binding is not supported outside of class scope. 78 | ERROR | Late static binding is not supported outside of class scope. FILE: /tmp/advanced-access-manager/application/Backend/tmpl/metabox/principal-iframe.php FOUND 3 ERRORS AFFECTING 3 LINES 17 | ERROR | Late static binding is not supported outside of class scope.
19 | ERROR | Late static binding is not supported outside of class scope. 24 | ERROR | Late static binding is not supported outside of class scope. FILE: /tmp/advanced-access-manager/application/Backend/tmpl/metabox/post-iframe.php FOUND 3 ERRORS AFFECTING 3 LINES 18 | ERROR | Late static binding is not supported outside of class scope.
22 | ERROR | Late static binding is not supported outside of class scope. 32 | ERROR | Late static binding is not supported outside of class scope. FILE: /tmp/advanced-access-manager/application/Backend/tmpl/metabox/user-iframe.php FOUND 3 ERRORS AFFECTING 3 LINES 17 | ERROR | Late static binding is not supported outside of class scope.
22 | ERROR | Late static binding is not supported outside of class scope. 33 | ERROR | Late static binding is not supported outside of class scope. FILE: /tmp/advanced-access-manager/application/Backend/tmpl/metabox/main-iframe.php FOUND 6 ERRORS AFFECTING 6 LINES 22 | ERROR | Late static binding is not supported outside of class scope.
27 | ERROR | Late static binding is not supported outside of class scope.
33 | ERROR | Late static binding is not supported outside of class scope.
225 | ERROR | Late static binding is not supported outside of class scope.
226 | ERROR | Late static binding is not supported outside of class scope. 231 | ERROR | Late static binding is not supported outside of class scope. FILE: /tmp/advanced-access-manager/application/Core/Cli.php FOUND 2 ERRORS AFFECTING 2 LINES 56 | ERROR | The function is_iterable() is not present in PHP version 7.0 or earlier 120 | ERROR | The function is_iterable() is not present in PHP version 7.0 or earlier FILE: /tmp/advanced-access-manager/application/Core/Jwt/Manager.php FOUND 3 ERRORS AFFECTING 3 LINES 266 | ERROR | The function sodium_crypto_sign_detached() is not present in PHP version 7.1 or earlier
297 | ERROR | string return type is not present in PHP version 5.6 or earlier 406 | ERROR | The function sodium_crypto_sign_verify_detached() is not present in PHP version 7.1 or earlier FILE: /tmp/advanced-access-manager/application/Core/Restful/Role.php FOUND 1 ERROR AFFECTING 1 LINE 25 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'NAMESPACE' (since version 5.3) FILE: /tmp/advanced-access-manager/media/js/iframe-content.js FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE 1 | WARNING | File appears to be minified and cannot be processed FILE: /tmp/advanced-access-manager/media/js/vendor.js FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE 1 | WARNING | File appears to be minified and cannot be processed FILE: /tmp/advanced-access-manager/media/js/iframe-resizer.js FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE 1 | WARNING | File appears to be minified and cannot be processed FILE: /tmp/advanced-access-manager/media/css/vendor.min.css FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE 1 | WARNING | File appears to be minified and cannot be processed Time: 6.16 secs; Memory: 102.01MB
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP 5.6 compatibility and oter’ is closed to new replies.