Problem/Motivation

PHP 8.5 narrowed the return type of a number of image* functions: https://github.com/php/php-src/commit/b535a54f5f55b94b6d3440959ff8c445fc...

PHPStan now throws an error if they are checked for falseness.

Proposed resolution

Fix the calls not to check returned value.

Remaining tasks

User interface changes

API changes

Data model changes

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

mondrake created an issue. See original summary.

mondrake’s picture

Issue summary: View changes

  • mondrake committed 9a1952de on 5.0.x
    task: #3562006 Fix PHPStan errors on PHP 8.5
    
    By: mondrake
    
mondrake’s picture

Status: Active » 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.

Status: Fixed » Closed (fixed)

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