Verified Commit f5012758 authored by Dave Long's avatar Dave Long
Browse files

Issue #3467397 by quietone: Enable Drupal.Commenting.VariableComment.IncorrectVarType

parent d38aac15
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for core/modules/views/tests/src/Unit/ViewExecutableTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ class ViewExecutableTest extends UnitTestCase {
  /**
   * The display plugin manager.
   *
   * @var \Drupal\Component\Plugin\PluginManagerInterface;
   * @var \Drupal\Component\Plugin\PluginManagerInterface
   */
  protected $displayPluginManager;

+1 −2
Changes for core/phpcs.xml.dist: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -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"/>