Problem/Motivation

In `svg_image.module` at line 112 (see also https://git.drupalcode.org/project/svg_image/-/blob/3.x/svg_image.module...) an integer cast is used by using `(integer)` instead of `(int)`. This has been deprecated in PHP 8.5.

Proposed resolution

Replace the (as of PHP 8.5) non-canonical `(integer)` cast with `(int)`.

Issue fork svg_image-3565902

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kevin-ait created an issue. See original summary.

kevin-ait’s picture

Issue tags: +PHP 8.5

mably made their first commit to this issue’s fork.

mably’s picture

Status: Active » Needs review

  • mably committed eb75af22 on 3.x
    fix: #3565902 Deprecated function: Non-canonical cast (integer) is...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

claudiu.cristea’s picture

Thank you for the fix. Is it possible to cut a release which includes PHP 8.5 support?

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.