Skip to content
Snippets Groups Projects
Commit f7e9cbbc authored by catch's avatar catch
Browse files

Issue #3311383 by andypost, Berdir: Apply #[\AllowDynamicProperties] attribute...

Issue #3311383 by andypost, Berdir: Apply #[\AllowDynamicProperties] attribute to core classes to allow contrib has less noise in logs
parent 6da66e99
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
* @private * @private
* @subpackage DifferenceEngine * @subpackage DifferenceEngine
*/ */
#[\AllowDynamicProperties]
class DiffEngine { class DiffEngine {
const USE_ASSERTS = FALSE; const USE_ASSERTS = FALSE;
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
/** /**
* Provides object-based plugin definitions. * Provides object-based plugin definitions.
*/ */
#[\AllowDynamicProperties]
class PluginDefinition implements PluginDefinitionInterface { class PluginDefinition implements PluginDefinitionInterface {
/** /**
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
* *
* @todo: Change all properties to protected. * @todo: Change all properties to protected.
*/ */
#[\AllowDynamicProperties]
class UserSession implements AccountInterface { class UserSession implements AccountInterface {
/** /**
......
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
* *
* @link https://www.drupal.org/docs/8/api/migrate-api Migrate API handbook. @endlink * @link https://www.drupal.org/docs/8/api/migrate-api Migrate API handbook. @endlink
*/ */
#[\AllowDynamicProperties]
class Migration extends PluginBase implements MigrationInterface, RequirementsInterface, ContainerFactoryPluginInterface { class Migration extends PluginBase implements MigrationInterface, RequirementsInterface, ContainerFactoryPluginInterface {
/** /**
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
* @see https://www.drupal.org/node/2849674 * @see https://www.drupal.org/node/2849674
* @see https://bugs.php.net/bug.php?id=66052 * @see https://bugs.php.net/bug.php?id=66052
*/ */
#[\AllowDynamicProperties]
class ViewExecutable { class ViewExecutable {
/** /**
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
/** /**
* Stores UI related temporary settings. * Stores UI related temporary settings.
*/ */
#[\AllowDynamicProperties]
class ViewUI implements ViewEntityInterface { class ViewUI implements ViewEntityInterface {
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment