[11.x] Use readonly classes for attribute plugin discovery

Created on 15 April 2024, 2 months ago

Problem/Motivation

Since we're using readonly properties in attribute plugin discovery we can use readonly classes instead. This is supported in PHP 8.2+ so this would be restricted to 11.x.

Not sure how to handle BC since the base classes would be readonly and all child classes would also need to be as well.

There are also a handful of properties that are not declared readonly, but this might not matter since I'm not sure their values are actually set on the objects.

Steps to reproduce

Proposed resolution

Remaining tasks

This might not be possible due to the provider and class properties on AttributeBase. Leaving open in case anyone else has bright ideas.

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
PluginΒ  β†’

Last updated about 15 hours ago

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024