Method getMockForAbstractClass() is deprecated - replace in class ContentEntityBaseUnitTest

Created on 23 November 2024, about 9 hours 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 class ContentEntityBaseUnitTest

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