Ingore loadRevision deprecation

Created on 7 June 2024, 21 days ago
Updated 12 June 2024, 16 days ago

Problem/Motivation

It seems the error:

Call to deprecated method loadRevision() of class Drupal\Core\Entity\EntityStorageInterface:
         in drupal:10.1.0 and is removed from drupal:11.0.0. Use
         \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision

Is pretty much always a false positive because of weird inheritance of core. All code that used this would be broken right now if it didnt return the proper class. There have been multiple issues in drupal-phpstan regarding this issue, but it seems pretty impossible to fix.

I propose we ignore this issue for now since it is not even close to correct in determining the few instances it might actually be a bug/issue.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs work

Version

4.0

Component

Code

Created by

🇳🇱Netherlands bbrala Netherlands

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024