Skip to content

Modern Image Formats: imagedestroy() is deprecated #2273

Description

@westonruter

I noticed in a linting job that PHPCS now raises a Generic.PHP.DeprecatedFunctions.Deprecated for the uses of imagedestroy() in Modern Image Formats. I've suppressed these via 67dee59 but we need to look at what needs to be done about this. Apparently this function does nothing as of PHP 8 (see docs), so we may just need to do a version check to only run it on PHP<8.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature is broken

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Sponsor
    SponsoredKunjungi sekarang
    Promo