Skip to content

PHP 8.5 deprecation warnings #200

@woutRTV

Description

@woutRTV

Hi,

Upon checking logs after updating to PHP 8.5 I noticed that there are a couple deprecation warnings. I could simply send in a pull request with a quick fix, but don't know how you want to handle it as it is a BC break with PHP 7.x.

It's regarding these two functions:
Deprecated: Function finfo_close() is deprecated since 8.5, as finfo objects are freed automatically in ...\vendor\gumlet\php-image-resize\lib\ImageResize.php on line 168
PHP Deprecated: Function imagedestroy() is deprecated since 8.5, as it has no effect since PHP 8.0 in ...\vendor\gumlet\php-image-resize\lib\ImageResize.php on line 401

Looking forward to your response. I usually never do pull requests, so don't know how it works exactly, but if you let me know what way you like it to be fixed I'll be more than glad to send in a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions