Use #[IgnoreDeprecations] instead of #[Group('legacy')]

Created on 2 October 2025, about 13 hours ago

Problem/Motivation

Using #[Group('legacy')] is wrong, #[IgnoreDeprecations] should be used instead.

See https://www.drupal.org/node/3447698 .

Proposed resolution

Fix some more that slipped in:

  • core/modules/views/tests/src/Functional/Update/RssDefaultRowViewModeUpdateTest.php
  • core/modules/page_cache/tests/src/Unit/PageCacheLegacyTest.php

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

phpunit

Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

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