Skip to content
Snippets Groups Projects
Commit 85dd48c1 authored by Benni Mack's avatar Benni Mack Committed by Stefan Bürk
Browse files

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

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.

Resolves: #101967
Releases: main
Change-Id: I0653452efb6295e103c57a53bc60f4de7174b349
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81097


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarAndreas Nedbal <andy@pixelde.su>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarAndreas Nedbal <andy@pixelde.su>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent ef48a91c
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment