Review main Merged

81097[BUGFIX] Use valid PHP 8 types related to GDImage in GifBuilder

Benni Mack CR +2 V +2 Hard +70 −212 updated 09/20/23, 14:55

Commit message

Since PHP 8.0, there is a new "\GDImage" object that
is used for image manipulation functions. Before,
this was a "resource", but can now be type-hinted properly
in all cases regarding GifBuilder.

This reduces the amount of PHPstan errors for GifBuilder et al
to a minimum.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3