Issue #3299853 by andypost, kim.pepper: Apply #[\AllowDynamicProperties] attribute to base classes to make PHP 8.2 log size sane

merge-requests/2541/head
catch 2022-07-26 12:36:10 +09:00
parent 763577f8bd
commit db2e2d2544
5 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,7 @@ use Drupal\Core\Plugin\PluginDependencyTrait;
*
* @ingroup entity_api
*/
#[\AllowDynamicProperties]
abstract class ConfigEntityBase extends EntityBase implements ConfigEntityInterface {
use PluginDependencyTrait {

View File

@ -10,6 +10,7 @@ namespace Drupal\Core\Extension;
*
* @see https://bugs.php.net/bug.php?id=66052
*/
#[\AllowDynamicProperties]
class Extension {
/**

View File

@ -37,6 +37,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
*
* @ingroup views_plugins
*/
#[\AllowDynamicProperties]
abstract class PluginBase extends ComponentPluginBase implements ContainerFactoryPluginInterface, ViewsPluginInterface, DependentPluginInterface, TrustedCallbackInterface {
/**

View File

@ -150,6 +150,7 @@ use Drupal\Core\Plugin\PluginBase;
*
* Extensions of this class can be used to create more interesting joins.
*/
#[\AllowDynamicProperties]
class JoinPluginBase extends PluginBase implements JoinPluginInterface {
/**

View File

@ -5,6 +5,7 @@ namespace Drupal\views;
/**
* A class representing a view result row.
*/
#[\AllowDynamicProperties]
class ResultRow {
/**