Closed (fixed)
Project:
Table Header Scope Attribute
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
10 Sep 2025 at 10:33 UTC
Updated:
24 Sep 2025 at 13:19 UTC
Jump to comment: Most recent
Currently, the module uses annotations (e.g., @Filter, @coversDefaultClass, @group, etc.) in its classes.
Since Drupal 10.2 and PHPUnit 10, it is recommended (and supported) to replace annotations with PHP attributes.
This modernization improves forward compatibility and aligns with Drupal core standards.
To adopt attributes, the module will need to drop support for Drupal 10, and instead only require Drupal core ^11.
TableHeaderScopeAttribute and TableHeaderScopeAttributeTest classes in the module.core_version_requirement to ^11. info.yml to require core_version_requirement: ^10.2 || ^11. None. This change only affects automated tests and version requirements.
None. No public APIs are modified.
None.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
watergate commentedUpdated issue description, as attributes for tests are not supported by Drupal 10.
Comment #6
watergate commented