• I ran a PHP 7.4 compatibility test. Got the below results including one error.

    FILE: /wp-content/plugins/amazon-s3-and-cloudfront/classes/as3cf-plugin-compatibility.php
    ——————————————————————————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————————————————————————————
    467 | WARNING | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original value as passed to a parameter, but will instead provide the current value. The
    | | parameter “$url” was used, and possibly changed (by reference), on line 429.
    ——————————————————————————————————————————————————————————————————

    FILE: /wp-content/plugins/amazon-s3-and-cloudfront/view/footer.php
    ———————————————————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————————————————-
    1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
    ———————————————————————————————————————————————————————————-

    FILE: /wp-content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/functions.php
    ——————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ——————————————————————————————————————————————————–
    201 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    230 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    276 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    ——————————————————————————————————————————————————–

    FILE: /wp-content/plugins/amazon-s3-and-cloudfront/vendor/Gcp/guzzlehttp/promises/src/functions.php
    ————————————————————————————————————————————————————
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ————————————————————————————————————————————————————
    201 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    230 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    276 | WARNING | Function each() is deprecated since PHP 7.2; Use a foreach loop instead
    ————————————————————————————————————————————————————

    FILE: /wp-content/plugins/amazon-s3-and-cloudfront/vendor/Gcp/google/cloud-storage/src/SigningHelper.php
    ——————————————————————————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————————————————————————————
    85 | WARNING | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The
    | | parameter “$options” was used, and possibly changed (by reference), on line 73.
    ——————————————————————————————————————————————————————————————————

    FILE: /wp-content/plugins/amazon-s3-and-cloudfront/vendor/Gcp/google/cloud-core/src/Batch/InMemoryConfigStorage.php
    —————————————————————————————————————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————————————————————————-
    63 | ERROR | Visibility for magic method __sleep must be public. Found: private
    —————————————————————————————————————————————————————————-

  • The topic ‘Is the Plugin tested with PHP 7.4?’ is closed to new replies.