Problem/Motivation

PHPStan on 11.4.x complains

 ------ --------------------------------------------------------------------------------------------------------------------------------------------------
  Line   src/EntityUsageBatchManager.php
 ------ --------------------------------------------------------------------------------------------------------------------------------------------------
  255    Parameter #1 $mode of method Drupal\Core\Database\StatementInterface::fetchAll() expects Drupal\Core\Database\Statement\FetchAs|null, int given.
         🪪  argument.type
 ------ --------------------------------------------------------------------------------------------------------------------------------------------------

Proposed resolution

The enum is available in 11.2 and that's our minimum so let's use it.

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

alexpott created an issue. See original summary.

alexpott’s picture

Issue summary: View changes
alexpott’s picture

Status: Active » Needs review

  • alexpott committed 98563f36 on 5.x
    task: #3602750 Use FetchAs enum as 11.2 is the minimum version
    
    By:...
alexpott’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.

Status: Fixed » Closed (fixed)

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