diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
index ad50387947f..feed9bbb391 100644
--- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
+++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
@@ -81,6 +81,7 @@ abstract class ConfigEntityBase extends EntityBase implements ConfigEntityInterf
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $third_party_settings = [];
/**
@@ -92,7 +93,7 @@ abstract class ConfigEntityBase extends EntityBase implements ConfigEntityInterf
*
* @var array
*/
- // phpcs:ignore Drupal.Classes.PropertyDeclaration
+ // phpcs:ignore Drupal.Classes.PropertyDeclaration, Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $_core = [];
/**
diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
index 5cf89eb246d..02d4961abe3 100644
--- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
+++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php
@@ -18,11 +18,13 @@ class ConfigEntityType extends EntityType implements ConfigEntityTypeInterface {
*
* @see \Drupal\Core\Config\Entity\ConfigEntityTypeInterface::getConfigPrefix()
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $config_prefix;
/**
* {@inheritdoc}
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $static_cache = FALSE;
/**
@@ -30,6 +32,7 @@ class ConfigEntityType extends EntityType implements ConfigEntityTypeInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $lookup_keys = [];
/**
@@ -37,6 +40,7 @@ class ConfigEntityType extends EntityType implements ConfigEntityTypeInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $config_export = [];
/**
diff --git a/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php b/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php
index edb080e94eb..8e314e92c20 100644
--- a/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php
+++ b/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php
@@ -16,7 +16,7 @@ trait DependencySerializationTrait {
*
* @var array
*/
- // phpcs:ignore Drupal.Classes.PropertyDeclaration
+ // phpcs:ignore Drupal.Classes.PropertyDeclaration, Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $_serviceIds = [];
/**
@@ -24,7 +24,7 @@ trait DependencySerializationTrait {
*
* @var array
*/
- // phpcs:ignore Drupal.Classes.PropertyDeclaration
+ // phpcs:ignore Drupal.Classes.PropertyDeclaration, Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $_entityStorages = [];
/**
diff --git a/core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php b/core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
index 4e17852990f..1d0d4a566bd 100644
--- a/core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
+++ b/core/lib/Drupal/Core/Entity/Annotation/ConfigEntityType.php
@@ -20,6 +20,7 @@ class ConfigEntityType extends EntityType {
/**
* {@inheritdoc}
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $entity_type_class = 'Drupal\Core\Config\Entity\ConfigEntityType';
/**
diff --git a/core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php b/core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php
index b7bf2f8fe14..bdf2e02c7df 100644
--- a/core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php
+++ b/core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php
@@ -22,6 +22,7 @@ class ContentEntityType extends EntityType {
/**
* {@inheritdoc}
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $entity_type_class = 'Drupal\Core\Entity\ContentEntityType';
/**
diff --git a/core/lib/Drupal/Core/Entity/ContentEntityType.php b/core/lib/Drupal/Core/Entity/ContentEntityType.php
index 73f07bf0916..cf781cc1700 100644
--- a/core/lib/Drupal/Core/Entity/ContentEntityType.php
+++ b/core/lib/Drupal/Core/Entity/ContentEntityType.php
@@ -12,6 +12,7 @@ class ContentEntityType extends EntityType implements ContentEntityTypeInterface
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $revision_metadata_keys = [];
/**
diff --git a/core/lib/Drupal/Core/Entity/EntityType.php b/core/lib/Drupal/Core/Entity/EntityType.php
index d60c9d06d2b..71f8eac567e 100644
--- a/core/lib/Drupal/Core/Entity/EntityType.php
+++ b/core/lib/Drupal/Core/Entity/EntityType.php
@@ -23,6 +23,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $static_cache = TRUE;
/**
@@ -30,6 +31,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $render_cache = TRUE;
/**
@@ -37,6 +39,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $persistent_cache = TRUE;
/**
@@ -44,6 +47,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $entity_keys = [];
/**
@@ -74,6 +78,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $admin_permission;
/**
@@ -81,6 +86,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $collection_permission;
/**
@@ -90,6 +96,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $permission_granularity = 'entity_type';
/**
* Link templates using the URI template syntax.
@@ -103,6 +110,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $bundle_entity_type = NULL;
/**
@@ -110,6 +118,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $bundle_of = NULL;
/**
@@ -117,6 +126,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $bundle_label = NULL;
/**
@@ -124,6 +134,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $base_table = NULL;
/**
@@ -131,6 +142,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $revision_data_table = NULL;
/**
@@ -138,6 +150,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $revision_table = NULL;
/**
@@ -145,6 +158,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $data_table = NULL;
/**
@@ -166,6 +180,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $show_revision_ui = FALSE;
/**
@@ -184,6 +199,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @see \Drupal\Core\Entity\EntityTypeInterface::getCollectionLabel()
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $label_collection = '';
/**
@@ -193,6 +209,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @see \Drupal\Core\Entity\EntityTypeInterface::getSingularLabel()
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $label_singular = '';
/**
@@ -202,6 +219,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @see \Drupal\Core\Entity\EntityTypeInterface::getPluralLabel()
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $label_plural = '';
/**
@@ -219,6 +237,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @see \Drupal\Core\Entity\EntityTypeInterface::getCountLabel()
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $label_count = [];
/**
@@ -226,6 +245,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var callable|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $uri_callback = NULL;
/**
@@ -244,6 +264,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @see \Drupal\Core\Entity\EntityTypeInterface::getGroupLabel()
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $group_label;
/**
@@ -251,6 +272,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $field_ui_base_route;
/**
@@ -261,6 +283,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $common_reference_target = FALSE;
/**
@@ -268,6 +291,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string[]
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $list_cache_contexts = [];
/**
@@ -275,6 +299,7 @@ class EntityType extends PluginDefinition implements EntityTypeInterface {
*
* @var string[]
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $list_cache_tags = [];
/**
diff --git a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
index bbb713e7cbb..fd20a1e3d43 100644
--- a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
+++ b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
@@ -35,6 +35,7 @@ class EntityHasFieldConstraint extends SymfonyConstraint {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $field_name;
/**
diff --git a/core/lib/Drupal/Core/Field/Annotation/FieldType.php b/core/lib/Drupal/Core/Field/Annotation/FieldType.php
index 4dcb51ee608..b1687f924d8 100644
--- a/core/lib/Drupal/Core/Field/Annotation/FieldType.php
+++ b/core/lib/Drupal/Core/Field/Annotation/FieldType.php
@@ -73,6 +73,7 @@ class FieldType extends DataType {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $default_widget;
/**
@@ -84,6 +85,7 @@ class FieldType extends DataType {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $default_formatter;
/**
@@ -91,11 +93,13 @@ class FieldType extends DataType {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $no_ui = FALSE;
/**
* {@inheritdoc}
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $list_class;
/**
diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php
index b5ae1da2c58..e8a186205fe 100644
--- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php
+++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php
@@ -45,6 +45,7 @@ abstract class OptionsWidgetBase extends WidgetBase {
/**
* Tracks whether the field has a value.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected bool $has_value;
/**
diff --git a/core/lib/Drupal/Core/Form/FormState.php b/core/lib/Drupal/Core/Form/FormState.php
index 69835c62229..e4820864e61 100644
--- a/core/lib/Drupal/Core/Form/FormState.php
+++ b/core/lib/Drupal/Core/Form/FormState.php
@@ -33,6 +33,7 @@ class FormState implements FormStateInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $complete_form;
/**
@@ -65,6 +66,7 @@ class FormState implements FormStateInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $build_info = [
'args' => [],
'files' => [],
@@ -79,6 +81,7 @@ class FormState implements FormStateInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $rebuild_info = [];
/**
@@ -163,6 +166,7 @@ class FormState implements FormStateInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $no_redirect;
/**
@@ -221,6 +225,7 @@ class FormState implements FormStateInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $no_cache;
/**
@@ -279,6 +284,7 @@ class FormState implements FormStateInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $always_process;
/**
@@ -293,6 +299,7 @@ class FormState implements FormStateInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $must_validate;
/**
@@ -316,6 +323,7 @@ class FormState implements FormStateInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $programmed_bypass_access_check = TRUE;
/**
@@ -328,6 +336,7 @@ class FormState implements FormStateInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $process_input;
/**
@@ -359,6 +368,7 @@ class FormState implements FormStateInterface {
*
* @var array|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $triggering_element;
/**
@@ -369,6 +379,7 @@ class FormState implements FormStateInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $has_file_element;
/**
@@ -436,6 +447,7 @@ class FormState implements FormStateInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $validation_complete = FALSE;
/**
@@ -461,6 +473,7 @@ class FormState implements FormStateInterface {
*
* @var array|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $limit_validation_errors;
/**
@@ -470,6 +483,7 @@ class FormState implements FormStateInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $validate_handlers = [];
/**
@@ -479,6 +493,7 @@ class FormState implements FormStateInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $submit_handlers = [];
/**
diff --git a/core/lib/Drupal/Core/Layout/LayoutDefinition.php b/core/lib/Drupal/Core/Layout/LayoutDefinition.php
index 8a6a3b39629..11cbf514366 100644
--- a/core/lib/Drupal/Core/Layout/LayoutDefinition.php
+++ b/core/lib/Drupal/Core/Layout/LayoutDefinition.php
@@ -65,6 +65,7 @@ class LayoutDefinition extends PluginDefinition implements PluginDefinitionInter
*
* @var string|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $theme_hook;
/**
@@ -95,6 +96,7 @@ class LayoutDefinition extends PluginDefinition implements PluginDefinitionInter
*
* @see \Drupal\Core\Layout\Icon\IconBuilderInterface::build()
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $icon_map;
/**
@@ -116,6 +118,7 @@ class LayoutDefinition extends PluginDefinition implements PluginDefinitionInter
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $default_region;
/**
diff --git a/core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php b/core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php
index b308fc7527a..03fd14b59b2 100644
--- a/core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php
+++ b/core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php
@@ -33,6 +33,7 @@ abstract class PhpassHashedPasswordBase implements PasswordInterface {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public static $ITOA64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
/**
diff --git a/core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionTrait.php b/core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionTrait.php
index 632bf0cd10e..5ac5ae40d93 100644
--- a/core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionTrait.php
+++ b/core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionTrait.php
@@ -14,6 +14,7 @@ trait DependentPluginDefinitionTrait {
*
* @see \Drupal\Core\Config\Entity\ConfigDependencyManager
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $config_dependencies = [];
/**
diff --git a/core/lib/Drupal/Core/Session/UserSession.php b/core/lib/Drupal/Core/Session/UserSession.php
index 91787c0ba1c..4b7958e187b 100644
--- a/core/lib/Drupal/Core/Session/UserSession.php
+++ b/core/lib/Drupal/Core/Session/UserSession.php
@@ -45,6 +45,7 @@ class UserSession implements AccountInterface {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $preferred_langcode;
/**
@@ -52,6 +53,7 @@ class UserSession implements AccountInterface {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $preferred_admin_langcode;
/**
diff --git a/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php b/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
index 42d1811877e..059e91d68d8 100644
--- a/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
+++ b/core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
@@ -22,6 +22,7 @@ class TwigSandboxPolicy implements SecurityPolicyInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $allowed_methods;
/**
@@ -31,6 +32,7 @@ class TwigSandboxPolicy implements SecurityPolicyInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $allowed_prefixes;
/**
@@ -38,6 +40,7 @@ class TwigSandboxPolicy implements SecurityPolicyInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $allowed_classes;
/**
diff --git a/core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php b/core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php
index f6e270c358a..5e1433afff8 100644
--- a/core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php
+++ b/core/modules/comment/src/Plugin/views/field/StatisticsLastCommentName.php
@@ -18,11 +18,13 @@ class StatisticsLastCommentName extends FieldPluginBase {
/**
* The users table.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected ?string $user_table;
/**
* The user name field.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected string $user_field;
/**
diff --git a/core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php b/core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php
index 2662df44c01..91807deb4b1 100644
--- a/core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php
+++ b/core/modules/comment/src/Plugin/views/field/StatisticsLastUpdated.php
@@ -16,6 +16,7 @@ class StatisticsLastUpdated extends Date {
/**
* The node table.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected ?string $node_table;
public function query() {
diff --git a/core/modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php b/core/modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php
index 0e87f688422..bbeeb0f5a36 100644
--- a/core/modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php
+++ b/core/modules/comment/src/Plugin/views/filter/StatisticsLastUpdated.php
@@ -16,6 +16,7 @@ class StatisticsLastUpdated extends Date {
/**
* The node table.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected ?string $node_table;
public function query() {
diff --git a/core/modules/comment/src/Plugin/views/row/Rss.php b/core/modules/comment/src/Plugin/views/row/Rss.php
index 78f9083280f..72b53cd4ec4 100644
--- a/core/modules/comment/src/Plugin/views/row/Rss.php
+++ b/core/modules/comment/src/Plugin/views/row/Rss.php
@@ -23,16 +23,19 @@ class Rss extends RssPluginBase {
/**
* {@inheritdoc}
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $base_table = 'comment_field_data';
/**
* {@inheritdoc}
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $base_field = 'cid';
/**
* The field alias.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $field_alias;
/**
diff --git a/core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php b/core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php
index 08d765d223c..df66c96ca06 100644
--- a/core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php
+++ b/core/modules/comment/src/Plugin/views/sort/StatisticsLastCommentName.php
@@ -16,11 +16,13 @@ class StatisticsLastCommentName extends SortPluginBase {
/**
* The users table.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected ?string $user_table;
/**
* The user name field.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected string $user_field;
public function query() {
diff --git a/core/modules/comment/src/Plugin/views/sort/StatisticsLastUpdated.php b/core/modules/comment/src/Plugin/views/sort/StatisticsLastUpdated.php
index adcf6b54466..48b8c433583 100644
--- a/core/modules/comment/src/Plugin/views/sort/StatisticsLastUpdated.php
+++ b/core/modules/comment/src/Plugin/views/sort/StatisticsLastUpdated.php
@@ -16,11 +16,13 @@ class StatisticsLastUpdated extends Date {
/**
* The node table.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected ?string $node_table;
/**
* The field alias.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected string $field_alias;
public function query() {
diff --git a/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php b/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php
index 54f157594f8..9ce12e15294 100644
--- a/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php
+++ b/core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php
@@ -25,6 +25,7 @@ class HistoryUserTimestamp extends FilterPluginBase {
/**
* {@inheritdoc}
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $no_operator = TRUE;
/**
diff --git a/core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php b/core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
index a3ac834bbb8..8c2282a29ec 100644
--- a/core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
+++ b/core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php
@@ -18,6 +18,7 @@ class LinkAccessConstraintValidator extends ConstraintValidator implements Conta
*
* @var \Drupal\Core\Session\AccountProxyInterface
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $current_user;
/**
diff --git a/core/modules/migrate/src/Plugin/Migration.php b/core/modules/migrate/src/Plugin/Migration.php
index f19a35e3e5f..4ec69f55e6e 100644
--- a/core/modules/migrate/src/Plugin/Migration.php
+++ b/core/modules/migrate/src/Plugin/Migration.php
@@ -218,6 +218,7 @@ class Migration extends PluginBase implements MigrationInterface, RequirementsIn
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $migration_tags = [];
/**
@@ -252,6 +253,7 @@ class Migration extends PluginBase implements MigrationInterface, RequirementsIn
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $migration_dependencies = [];
/**
diff --git a/core/modules/migrate/src/Plugin/migrate/destination/Config.php b/core/modules/migrate/src/Plugin/migrate/destination/Config.php
index bfa4da59196..33cbdffd39a 100644
--- a/core/modules/migrate/src/Plugin/migrate/destination/Config.php
+++ b/core/modules/migrate/src/Plugin/migrate/destination/Config.php
@@ -84,6 +84,7 @@ class Config extends DestinationBase implements ContainerFactoryPluginInterface,
*
* @var \Drupal\Core\Language\LanguageManagerInterface
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $language_manager;
/**
diff --git a/core/modules/node/src/Entity/Node.php b/core/modules/node/src/Entity/Node.php
index b59e634be76..c9f12ec4797 100644
--- a/core/modules/node/src/Entity/Node.php
+++ b/core/modules/node/src/Entity/Node.php
@@ -95,6 +95,7 @@ class Node extends EditorialContentEntityBase implements NodeInterface {
* @var true|null
* TRUE if the node is being previewed and NULL if it is not.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $in_preview = NULL;
/**
diff --git a/core/modules/node/src/Plugin/views/row/Rss.php b/core/modules/node/src/Plugin/views/row/Rss.php
index 3189a47f441..24622282d4a 100644
--- a/core/modules/node/src/Plugin/views/row/Rss.php
+++ b/core/modules/node/src/Plugin/views/row/Rss.php
@@ -25,11 +25,13 @@ class Rss extends RssPluginBase {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $base_table = 'node_field_data';
/**
* The base field for this row plugin.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $base_field = 'nid';
/**
diff --git a/core/modules/search/src/Plugin/views/argument/Search.php b/core/modules/search/src/Plugin/views/argument/Search.php
index cbda10db641..996ab4cd27c 100644
--- a/core/modules/search/src/Plugin/views/argument/Search.php
+++ b/core/modules/search/src/Plugin/views/argument/Search.php
@@ -36,6 +36,7 @@ class Search extends ArgumentPluginBase {
/**
* The search score.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $search_score;
/**
diff --git a/core/modules/search/src/Plugin/views/filter/Search.php b/core/modules/search/src/Plugin/views/filter/Search.php
index 9c116a5e3b3..b581657c921 100644
--- a/core/modules/search/src/Plugin/views/filter/Search.php
+++ b/core/modules/search/src/Plugin/views/filter/Search.php
@@ -49,6 +49,7 @@ class Search extends FilterPluginBase {
/**
* The search score.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $search_score;
/**
diff --git a/core/modules/search/src/SearchQuery.php b/core/modules/search/src/SearchQuery.php
index d7816dac3de..456035c2230 100644
--- a/core/modules/search/src/SearchQuery.php
+++ b/core/modules/search/src/SearchQuery.php
@@ -177,6 +177,7 @@ class SearchQuery extends SelectExtender {
*
* @var int
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $relevance_count = 0;
/**
diff --git a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
index 34a0359c898..79218476b5e 100644
--- a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
+++ b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php
@@ -27,6 +27,7 @@ class TaxonomyIndexTid extends ManyToOne {
*
* @var array|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $validated_exposed_input = NULL;
/**
diff --git a/core/modules/user/src/Plugin/views/filter/Name.php b/core/modules/user/src/Plugin/views/filter/Name.php
index a8bdbd88263..59bd34e1414 100644
--- a/core/modules/user/src/Plugin/views/filter/Name.php
+++ b/core/modules/user/src/Plugin/views/filter/Name.php
@@ -21,6 +21,7 @@ class Name extends InOperator {
/**
* The validated exposed input.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected array $validated_exposed_input;
protected function valueForm(&$form, FormStateInterface $form_state) {
diff --git a/core/modules/views/src/Plugin/views/HandlerBase.php b/core/modules/views/src/Plugin/views/HandlerBase.php
index ad7ee244e39..4b6dc42bfc0 100644
--- a/core/modules/views/src/Plugin/views/HandlerBase.php
+++ b/core/modules/views/src/Plugin/views/HandlerBase.php
@@ -85,6 +85,7 @@ abstract class HandlerBase extends PluginBase implements ViewsHandlerInterface {
/**
* Tracks whether the plugin is a handler.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public bool $is_handler;
/**
diff --git a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
index 68ce5582556..38776044e29 100644
--- a/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
+++ b/core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
@@ -63,11 +63,13 @@ abstract class ArgumentPluginBase extends HandlerBase implements CacheableDepend
* The table to use for the name, should it not be in the same table as the argument.
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $name_table;
/**
* The name table alias.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $name_table_alias;
/**
@@ -78,31 +80,37 @@ abstract class ArgumentPluginBase extends HandlerBase implements CacheableDepend
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $name_field;
/**
* The alias for the field.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $name_alias;
/**
* The base table alias.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $base_alias;
/**
* The alias count.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $count_alias;
/**
* Is argument validated.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public ?bool $argument_validated;
/**
* Is argument a default.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public bool $is_default;
/**
@@ -113,6 +121,7 @@ abstract class ArgumentPluginBase extends HandlerBase implements CacheableDepend
/**
* The title set by argument validation.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public ?string $validated_title;
/**
diff --git a/core/modules/views/src/Plugin/views/argument/Date.php b/core/modules/views/src/Plugin/views/argument/Date.php
index 3fbe9b85da5..a27eb9c9162 100644
--- a/core/modules/views/src/Plugin/views/argument/Date.php
+++ b/core/modules/views/src/Plugin/views/argument/Date.php
@@ -44,6 +44,7 @@ class Date extends Formula implements ContainerFactoryPluginInterface {
*/
protected $argFormat = 'Y-m-d';
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $option_name = 'default_argument_date';
/**
diff --git a/core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php b/core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php
index 25302114a84..6988c7b15dd 100644
--- a/core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php
+++ b/core/modules/views/src/Plugin/views/argument_default/ArgumentDefaultPluginBase.php
@@ -40,6 +40,7 @@ abstract class ArgumentDefaultPluginBase extends PluginBase {
/**
* The option name.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $option_name;
/**
diff --git a/core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php b/core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php
index f4b7f8f3d50..26ec3aadac8 100644
--- a/core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php
+++ b/core/modules/views/src/Plugin/views/argument_validator/ArgumentValidatorPluginBase.php
@@ -43,6 +43,7 @@ abstract class ArgumentValidatorPluginBase extends PluginBase {
/**
* The option name.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $option_name;
/**
diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
index 6f6f2f3ba85..dda482a96e2 100644
--- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
+++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
@@ -128,11 +128,13 @@ abstract class DisplayPluginBase extends PluginBase implements DisplayPluginInte
/**
* Keeps track whether the display uses exposed filters.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public bool $has_exposed;
/**
* The default display.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public DisplayPluginInterface $default_display;
/**
diff --git a/core/modules/views/src/Plugin/views/display/EntityReference.php b/core/modules/views/src/Plugin/views/display/EntityReference.php
index ed9a7325e78..7523b445164 100644
--- a/core/modules/views/src/Plugin/views/display/EntityReference.php
+++ b/core/modules/views/src/Plugin/views/display/EntityReference.php
@@ -53,6 +53,7 @@ class EntityReference extends DisplayPluginBase {
/**
* The id field alias.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $id_field_alias;
/**
diff --git a/core/modules/views/src/Plugin/views/field/EntityField.php b/core/modules/views/src/Plugin/views/field/EntityField.php
index d82cbd239c5..7008fdbdbc6 100644
--- a/core/modules/views/src/Plugin/views/field/EntityField.php
+++ b/core/modules/views/src/Plugin/views/field/EntityField.php
@@ -62,6 +62,7 @@ class EntityField extends FieldPluginBase implements CacheableDependencyInterfac
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $limit_values;
/**
@@ -69,6 +70,7 @@ class EntityField extends FieldPluginBase implements CacheableDependencyInterfac
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $base_table;
/**
@@ -137,6 +139,7 @@ class EntityField extends FieldPluginBase implements CacheableDependencyInterfac
/**
* The fields that we are actually grouping on.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public array $group_fields;
/**
diff --git a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
index 4feb2e41d2e..148eb8fc7d4 100644
--- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
+++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php
@@ -74,6 +74,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
/**
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $field_alias = 'unknown';
public $aliases = [];
@@ -82,6 +83,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
*
* @var mixed
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $original_value = NULL;
/**
@@ -91,6 +93,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $additional_fields = [];
/**
@@ -110,16 +113,19 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
/**
* The last rendered value.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string|MarkupInterface|NULL $last_render;
/**
* The last rendered text.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string|MarkupInterface|NULL $last_render_text;
/**
* The last rendered tokens.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public array $last_tokens;
/**
diff --git a/core/modules/views/src/Plugin/views/filter/BooleanOperator.php b/core/modules/views/src/Plugin/views/filter/BooleanOperator.php
index a40b8519f71..6789bdd3afc 100644
--- a/core/modules/views/src/Plugin/views/filter/BooleanOperator.php
+++ b/core/modules/views/src/Plugin/views/filter/BooleanOperator.php
@@ -52,11 +52,13 @@ class BooleanOperator extends FilterPluginBase implements FilterOperatorsInterfa
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $accept_null = FALSE;
/**
* The value title.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $value_value;
/**
diff --git a/core/modules/views/src/Plugin/views/filter/Bundle.php b/core/modules/views/src/Plugin/views/filter/Bundle.php
index 5d07f292c94..903fbbabd80 100644
--- a/core/modules/views/src/Plugin/views/filter/Bundle.php
+++ b/core/modules/views/src/Plugin/views/filter/Bundle.php
@@ -48,6 +48,7 @@ class Bundle extends InOperator {
/**
* The bundle key.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $real_field;
/**
diff --git a/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php b/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
index 6a92d901245..d79e1feca57 100644
--- a/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
+++ b/core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
@@ -81,6 +81,7 @@ abstract class FilterPluginBase extends HandlerBase implements CacheableDependen
/**
* Contains the information of the selected item in a grouped filter.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $group_info = NULL;
/**
@@ -93,12 +94,14 @@ abstract class FilterPluginBase extends HandlerBase implements CacheableDependen
* @var bool
* Disable the possibility to use operators.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $no_operator = FALSE;
/**
* @var bool
* Disable the possibility to allow an exposed input to be optional.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $always_required = FALSE;
/**
diff --git a/core/modules/views/src/Plugin/views/join/Subquery.php b/core/modules/views/src/Plugin/views/join/Subquery.php
index adc52e39506..474036b2c85 100644
--- a/core/modules/views/src/Plugin/views/join/Subquery.php
+++ b/core/modules/views/src/Plugin/views/join/Subquery.php
@@ -24,6 +24,7 @@ class Subquery extends JoinPluginBase {
/**
* The left join query.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $left_query;
/**
diff --git a/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php b/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
index 5f0e7e5e8b1..b2cb87a6b8b 100644
--- a/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
+++ b/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php
@@ -27,8 +27,10 @@ use Drupal\views\Plugin\views\PluginBase;
*/
abstract class PagerPluginBase extends PluginBase {
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $current_page = NULL;
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $total_items = 0;
/**
diff --git a/core/modules/views/src/Plugin/views/query/Sql.php b/core/modules/views/src/Plugin/views/query/Sql.php
index 395d689dea3..deafb0b0435 100644
--- a/core/modules/views/src/Plugin/views/query/Sql.php
+++ b/core/modules/views/src/Plugin/views/query/Sql.php
@@ -139,6 +139,7 @@ class Sql extends QueryPluginBase {
/**
* The count field definition.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public array $count_field;
/**
diff --git a/core/modules/views/src/Plugin/views/relationship/EntityReverse.php b/core/modules/views/src/Plugin/views/relationship/EntityReverse.php
index 123b5c0dd4b..73ea53d625b 100644
--- a/core/modules/views/src/Plugin/views/relationship/EntityReverse.php
+++ b/core/modules/views/src/Plugin/views/relationship/EntityReverse.php
@@ -23,6 +23,7 @@ class EntityReverse extends RelationshipPluginBase {
/**
* The alias for the left table.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $first_alias;
/**
diff --git a/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php b/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php
index 61cabe3e26f..eaa206f35ee 100644
--- a/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php
+++ b/core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php
@@ -64,6 +64,7 @@ class GroupwiseMax extends RelationshipPluginBase {
/**
* The namespace of the subquery.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $subquery_namespace;
/**
diff --git a/core/modules/views/src/Plugin/views/row/EntityRow.php b/core/modules/views/src/Plugin/views/row/EntityRow.php
index 210e92caa73..b214f87c657 100644
--- a/core/modules/views/src/Plugin/views/row/EntityRow.php
+++ b/core/modules/views/src/Plugin/views/row/EntityRow.php
@@ -29,6 +29,7 @@ class EntityRow extends RowPluginBase {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $base_table;
/**
diff --git a/core/modules/views/src/Plugin/views/row/RowPluginBase.php b/core/modules/views/src/Plugin/views/row/RowPluginBase.php
index 445aa54e248..53e6ec663e0 100644
--- a/core/modules/views/src/Plugin/views/row/RowPluginBase.php
+++ b/core/modules/views/src/Plugin/views/row/RowPluginBase.php
@@ -52,11 +52,13 @@ abstract class RowPluginBase extends PluginBase {
/**
* The actual field used.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $base_field;
/**
* The field alias.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string $field_alias;
/**
diff --git a/core/modules/views/src/Plugin/views/style/Rss.php b/core/modules/views/src/Plugin/views/style/Rss.php
index b39bbc4dd46..4e9c21bafff 100644
--- a/core/modules/views/src/Plugin/views/style/Rss.php
+++ b/core/modules/views/src/Plugin/views/style/Rss.php
@@ -29,6 +29,7 @@ class Rss extends StylePluginBase {
/**
* The channel elements.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public array $channel_elements;
/**
diff --git a/core/modules/views/src/Plugin/views/style/StylePluginBase.php b/core/modules/views/src/Plugin/views/style/StylePluginBase.php
index 09044a4bf38..54f6ec7bed2 100644
--- a/core/modules/views/src/Plugin/views/style/StylePluginBase.php
+++ b/core/modules/views/src/Plugin/views/style/StylePluginBase.php
@@ -88,6 +88,7 @@ abstract class StylePluginBase extends PluginBase {
*
* @var array|null
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $rendered_fields;
/**
@@ -114,6 +115,7 @@ abstract class StylePluginBase extends PluginBase {
*
* @var string[]
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public array $render_tokens = [];
/**
diff --git a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
index 6205b97efda..b18e1b3e101 100644
--- a/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
+++ b/core/modules/views/src/Plugin/views/wizard/WizardPluginBase.php
@@ -42,6 +42,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $base_table;
/**
@@ -66,6 +67,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $validated_views = [];
/**
@@ -104,6 +106,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $filter_defaults = [
'id' => NULL,
'expose' => ['operator' => FALSE],
diff --git a/core/modules/views/src/ResultRow.php b/core/modules/views/src/ResultRow.php
index 2399f699838..14453157358 100644
--- a/core/modules/views/src/ResultRow.php
+++ b/core/modules/views/src/ResultRow.php
@@ -13,7 +13,7 @@ class ResultRow {
*
* @var \Drupal\Core\Entity\EntityInterface
*/
- // phpcs:ignore Drupal.Classes.PropertyDeclaration
+ // phpcs:ignore Drupal.Classes.PropertyDeclaration, Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $_entity = NULL;
/**
@@ -21,7 +21,7 @@ class ResultRow {
*
* @var \Drupal\Core\Entity\EntityInterface[]
*/
- // phpcs:ignore Drupal.Classes.PropertyDeclaration
+ // phpcs:ignore Drupal.Classes.PropertyDeclaration, Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $_relationship_entities = [];
/**
diff --git a/core/modules/views/src/ViewExecutable.php b/core/modules/views/src/ViewExecutable.php
index 3726669edbb..9e0d472ec25 100644
--- a/core/modules/views/src/ViewExecutable.php
+++ b/core/modules/views/src/ViewExecutable.php
@@ -67,6 +67,7 @@ class ViewExecutable {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $build_info = [];
/**
@@ -79,11 +80,13 @@ class ViewExecutable {
/**
* The plugin name.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public ?string $plugin_name;
/**
* The build execution time.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public string|float $build_time;
/**
@@ -102,6 +105,7 @@ class ViewExecutable {
*
* @var int
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $current_page = NULL;
/**
@@ -109,6 +113,7 @@ class ViewExecutable {
*
* @var int
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $items_per_page = NULL;
/**
@@ -116,6 +121,7 @@ class ViewExecutable {
*
* @var int
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $offset = NULL;
/**
@@ -123,6 +129,7 @@ class ViewExecutable {
*
* @var int
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $total_rows = NULL;
/**
@@ -130,6 +137,7 @@ class ViewExecutable {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $attachment_before = [];
/**
@@ -137,6 +145,7 @@ class ViewExecutable {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $attachment_after = [];
/**
@@ -144,6 +153,7 @@ class ViewExecutable {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $feedIcons = [];
// Exposed widget input
@@ -153,6 +163,7 @@ class ViewExecutable {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $exposed_data = [];
/**
@@ -160,6 +171,7 @@ class ViewExecutable {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected $exposed_input = [];
/**
@@ -167,6 +179,7 @@ class ViewExecutable {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $exposed_raw_input = [];
/**
@@ -174,6 +187,7 @@ class ViewExecutable {
*
* @var \Drupal\views\ViewExecutable[]
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $old_view = [];
/**
@@ -181,6 +195,7 @@ class ViewExecutable {
*
* @var \Drupal\views\ViewExecutable[]
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $parent_views = [];
/**
@@ -188,6 +203,7 @@ class ViewExecutable {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $is_attachment = NULL;
/**
@@ -195,6 +211,7 @@ class ViewExecutable {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $current_display;
/**
@@ -209,6 +226,7 @@ class ViewExecutable {
*
* @var \Drupal\views\Plugin\views\pager\PagerPluginBase
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $pager = NULL;
/**
@@ -216,6 +234,7 @@ class ViewExecutable {
*
* @var \Drupal\views\Plugin\views\display\DisplayPluginBase
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $display_handler;
/**
@@ -233,6 +252,7 @@ class ViewExecutable {
*
* @var \Drupal\views\Plugin\views\style\StylePluginBase
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $style_plugin;
/**
@@ -247,6 +267,7 @@ class ViewExecutable {
*
* @var int
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $row_index;
/**
@@ -254,13 +275,16 @@ class ViewExecutable {
*
* @var \Drupal\Core\Url
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $override_url;
+
/**
* Allow to override the path used for generated URLs.
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $override_path = NULL;
/**
@@ -268,6 +292,7 @@ class ViewExecutable {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $base_database = NULL;
// Handlers which are active on this view.
@@ -361,6 +386,7 @@ class ViewExecutable {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $exposed_widgets;
/**
@@ -377,6 +403,7 @@ class ViewExecutable {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $get_total_rows;
/**
@@ -386,6 +413,7 @@ class ViewExecutable {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $build_sort;
/**
@@ -393,6 +421,7 @@ class ViewExecutable {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $many_to_one_tables;
/**
@@ -400,6 +429,7 @@ class ViewExecutable {
*
* @var string
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $dom_id;
/**
diff --git a/core/modules/views_ui/src/ViewUI.php b/core/modules/views_ui/src/ViewUI.php
index bdf057db31e..b73ca002174 100644
--- a/core/modules/views_ui/src/ViewUI.php
+++ b/core/modules/views_ui/src/ViewUI.php
@@ -39,6 +39,7 @@ class ViewUI implements ViewEntityInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $changed_display;
/**
@@ -46,6 +47,7 @@ class ViewUI implements ViewEntityInterface {
*
* @var float
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $render_time;
/**
@@ -70,6 +72,7 @@ class ViewUI implements ViewEntityInterface {
*
* @var array
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $temporary_options;
/**
@@ -84,6 +87,7 @@ class ViewUI implements ViewEntityInterface {
*
* @var bool
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
public $live_preview;
public $renderPreview = FALSE;
diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist
index 673f332295b..905152ee907 100644
--- a/core/phpcs.xml.dist
+++ b/core/phpcs.xml.dist
@@ -115,10 +115,7 @@
-
-
- **/tests/*
-
+
diff --git a/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php b/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php
index 1272c8e1786..9dc9ffe3daf 100644
--- a/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php
+++ b/core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php
@@ -94,6 +94,7 @@ class InstallHelper implements ContainerInjectionInterface {
/**
* The module's path.
*/
+ // phpcs:ignore Drupal.NamingConventions.ValidVariableName.LowerCamelName
protected string $module_path;
/**