Allow test classes to specify skipped deprecations too

Created on 14 November 2017, over 7 years ago
Updated 21 March 2025, 17 days ago

Problem/Motivation

Contrib tests need to add to \Drupal\Tests\Listeners\DeprecationListener::getSkippedDeprecations() because we're hitting a problem where contrib can't get passing tests on the current stable branch and the dev branch because of deprecations.

Proposed resolution

Pass test class to \Drupal\Tests\Listeners\DeprecationListener::getSkippedDeprecations() and use a static property on the class to get skipped deprecations.

Remaining tasks

User interface changes

None

API changes

Addition of a param to method added in 8.5.x so not API yet.

Data model changes

None

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

phpunit

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024