Method getMockForAbstractClass() is deprecated - replace in views plugins

Created on 13 October 2024, 2 months ago

Problem/Motivation

Method getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10.

Some uses were removed as part of 🌱 [meta] Support PHPUnit 10 in Drupal 11 Active , but there's a relevant number of places where this is still used.

Proposed resolution

Replace in most remaining views plugins. One instance remains, but that needs a general entity stub and will require a separate issue.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

phpunit

Created by

🇮🇹Italy mondrake 🇮🇹

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