Issue #3311383 by andypost, Berdir: Apply #[\AllowDynamicProperties] attribute to core classes to allow contrib has less noise in logs
(cherry picked from commit 6fc9b6b74ff9e76fad6b52ac4768cce68dab0740)merge-requests/2650/merge
parent
2277e2e1d9
commit
0f5ce77db1
|
@ -25,6 +25,7 @@ namespace Drupal\Component\Diff\Engine;
|
||||||
* @private
|
* @private
|
||||||
* @subpackage DifferenceEngine
|
* @subpackage DifferenceEngine
|
||||||
*/
|
*/
|
||||||
|
#[\AllowDynamicProperties]
|
||||||
class DiffEngine {
|
class DiffEngine {
|
||||||
|
|
||||||
const USE_ASSERTS = FALSE;
|
const USE_ASSERTS = FALSE;
|
||||||
|
|
|
@ -5,6 +5,7 @@ namespace Drupal\Component\Plugin\Definition;
|
||||||
/**
|
/**
|
||||||
* Provides object-based plugin definitions.
|
* Provides object-based plugin definitions.
|
||||||
*/
|
*/
|
||||||
|
#[\AllowDynamicProperties]
|
||||||
class PluginDefinition implements PluginDefinitionInterface {
|
class PluginDefinition implements PluginDefinitionInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -7,6 +7,7 @@ namespace Drupal\Core\Session;
|
||||||
*
|
*
|
||||||
* @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 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
*
|
*
|
||||||
* @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 @@ use Symfony\Component\Routing\Exception\RouteNotFoundException;
|
||||||
* @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 @@ use Symfony\Component\HttpFoundation\Request;
|
||||||
/**
|
/**
|
||||||
* Stores UI related temporary settings.
|
* Stores UI related temporary settings.
|
||||||
*/
|
*/
|
||||||
|
#[\AllowDynamicProperties]
|
||||||
class ViewUI implements ViewEntityInterface {
|
class ViewUI implements ViewEntityInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue