[META] Get rid of #[\AllowDynamicProperties] attribute

Created on 25 July 2022, over 2 years ago
Updated 27 February 2023, almost 2 years ago

Problem/Motivation

Part of #3275851: [META] Fix PHP 8.2 dynamic property deprecations β†’

This issue intended to define all undefined properties on base classes added in #3299853: Apply #[\AllowDynamicProperties] attribute to base classes to make PHP 8.2 log size sane β†’

Proposed resolution

Fix all child issues to safely remove the attribute

Remaining tasks

  1. core/modules/views/src/ResultRow.php πŸ› View's ResultRow uses deprecated dynamic properties Needs work
  2. core/lib/Drupal/Core/Extension/Extension.php πŸ“Œ Add Module, Theme, Profile, and Extension value objects Needs work
  3. core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php #3299857: [PP-1] Remove AllowDynamicProperties attribute from ConfigEntityBase β†’
  4. core/modules/views/src/Plugin/views/PluginBase.php πŸ“Œ Remove AllowDynamicProperties attribute from views/PluginBase Fixed
  5. core/modules/views/src/Plugin/views/join/JoinPluginBase.php πŸ“Œ Remove AllowDynamicProperties attribute from JoinPluginBase Fixed

User interface changes

no

API changes

no

Data model changes

no

Release notes snippet

no

🌱 Plan
Status

Active

Version

10.1 ✨

Component
BaseΒ  β†’

Last updated 3 days ago

Created by

πŸ‡«πŸ‡·France andypost

Live updates comments and jobs are added and updated live.
  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

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