Make module work with PHP 8.1

Created on 15 November 2023, over 1 year ago
Updated 5 February 2024, about 1 year ago

Thanks for the nice module!

Problem/Motivation

Define Canvas effect throws an error on PHP 8.1

Deprecated function: Implicit conversion from float 63.5 to int loses precision in Drupal\imagick\Plugin\ImageToolkit\Operation\imagick\DefineCanvas->process() (line 77 of modules/contrib/imagick/src/Plugin/ImageToolkit/Operation/imagick/DefineCanvas.php).

Steps to reproduce

Add a Define Canvas effect

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.6

Component

Code

Created by

🇨🇳China splash112

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024