Fix plugin attribute deprecation errors in phpunit

Created on 6 August 2025, 3 days ago

Problem/Motivation

phpunit output, for example https://git.drupalcode.org/project/graphql/-/jobs/6127111

Not supporting attribute discovery in Drupal\Core\Plugin\DefaultPluginManager is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. Provide an Attribute class and an Annotation class for BC. See https://www.drupal.org/node/3395582

Steps to reproduce

run phpunit and observe deprecation warnings

Proposed resolution

Fix deprecations by using attributes

Remaining tasks

Merge request

User interface changes

none

API changes

none

Data model changes

none

📌 Task
Status

Active

Version

5.0

Component

Code

Created by

🇦🇹Austria klausi 🇦🇹 Vienna

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

Comments & Activities

Production build 0.71.5 2024