From f5012758ee5fbe93d40cd35ef199a6656aab3814 Mon Sep 17 00:00:00 2001 From: Dave Long <dave@longwaveconsulting.com> Date: Tue, 13 Aug 2024 22:57:11 +0100 Subject: [PATCH] Issue #3467397 by quietone: Enable Drupal.Commenting.VariableComment.IncorrectVarType --- core/modules/views/tests/src/Unit/ViewExecutableTest.php | 2 +- core/phpcs.xml.dist | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/modules/views/tests/src/Unit/ViewExecutableTest.php b/core/modules/views/tests/src/Unit/ViewExecutableTest.php index aef51ee0278e..d12dc8f529c0 100644 --- a/core/modules/views/tests/src/Unit/ViewExecutableTest.php +++ b/core/modules/views/tests/src/Unit/ViewExecutableTest.php @@ -116,7 +116,7 @@ class ViewExecutableTest extends UnitTestCase { /** * The display plugin manager. * - * @var \Drupal\Component\Plugin\PluginManagerInterface; + * @var \Drupal\Component\Plugin\PluginManagerInterface */ protected $displayPluginManager; diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist index 82a793e7c221..149ccb56df26 100644 --- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -86,8 +86,7 @@ <rule ref="Drupal.Commenting.PostStatementComment"/> <rule ref="Drupal.Commenting.TodoComment" /> <rule ref="Drupal.Commenting.VariableComment"> - <!-- Sniff for: DuplicateVar, EmptyVar, InlineVariableName, WrongStyle --> - <exclude name="Drupal.Commenting.VariableComment.IncorrectVarType"/> + <!-- Sniff for: DuplicateVar, EmptyVar, IncorrectVarType, InlineVariableName, WrongStyle --> <exclude name="Drupal.Commenting.VariableComment.Missing"/> <exclude name="Drupal.Commenting.VariableComment.MissingVar"/> <exclude name="Drupal.Commenting.VariableComment.VarOrder"/> -- GitLab