Commit cd3902bc 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

(cherry picked from commit 6fc9b6b7)
parent 50e24a28
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
 * @private
 * @subpackage DifferenceEngine
 */
#[\AllowDynamicProperties]
class DiffEngine {

  const USE_ASSERTS = FALSE;
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
/**
 * Provides object-based plugin definitions.
 */
#[\AllowDynamicProperties]
class PluginDefinition implements PluginDefinitionInterface {

  /**
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
 *
 * @todo: Change all properties to protected.
 */
#[\AllowDynamicProperties]
class UserSession implements AccountInterface {

  /**
+1 −0
Original line number Diff line number Diff line
@@ -95,6 +95,7 @@
 *
 * @link https://www.drupal.org/docs/8/api/migrate-api Migrate API handbook. @endlink
 */
#[\AllowDynamicProperties]
class Migration extends PluginBase implements MigrationInterface, RequirementsInterface, ContainerFactoryPluginInterface {

  /**
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
 * @see https://www.drupal.org/node/2849674
 * @see https://bugs.php.net/bug.php?id=66052
 */
#[\AllowDynamicProperties]
class ViewExecutable {

  /**
Loading