Skip to content

4.8.1: PHP 8.5 (finfo, imagedestroy) and PHP 8.5 in the CI - #27

Merged
tombrain merged 3 commits into
masterfrom
php85
Nov 1, 2026
Merged

tombrain merged 3 commits into
masterfrom
php85

Conversation

@tombrain

@tombrain tombrain commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Fixes for PHP 8.5 (details in CHANGELOG.md, section 4.8.1):

  • UploadField uses finfo as an object; finfo_close() is deprecated as of PHP 8.5, so every upload with a type check gave a deprecation notice
  • ImageConverter (resizeImage(), mergeImage()) frees its images with unset(); imagedestroy() is deprecated as of PHP 8.5 and has no effect since 8.0
  • GitHub Actions runs PHPUnit on PHP 8.5 too, the job with the latest dependencies on 8.5 instead of 8.4

PHPUnit is green on PHP 8.2, 8.3, 8.4 and 8.5 (also with the latest dependencies).

🤖 Generated with Claude Code

@tombrain
tombrain merged commit f188d5f into master Nov 1, 2026
14 checks passed
@tombrain
tombrain deleted the php85 branch November 1, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant