Skip to content
Snippets Groups Projects
Commit 00b4d8c0 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2909367 by iKb, zaporylie, mfernea: Fix...

Issue #2909367 by iKb, zaporylie, mfernea: Fix 'Drupal.Commenting.VariableComment.DuplicateVar' coding standard
parent fe0e5fee
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,7 @@ class DedupeEntityTest extends MigrateProcessTestCase {
/**
* The mock entity query.
*
* @var \Drupal\Core\Entity\Query\QueryInterface
* @var \Drupal\Core\Entity\Query\QueryFactory
* @var \Drupal\Core\Entity\Query\QueryInterface|\Drupal\Core\Entity\Query\QueryFactory
*/
protected $entityQuery;
......
......@@ -17,8 +17,7 @@ class MakeUniqueEntityFieldTest extends MigrateProcessTestCase {
/**
* The mock entity query.
*
* @var \Drupal\Core\Entity\Query\QueryInterface
* @var \Drupal\Core\Entity\Query\QueryFactory
* @var \Drupal\Core\Entity\Query\QueryInterface|\Drupal\Core\Entity\Query\QueryFactory
*/
protected $entityQuery;
......
......@@ -63,6 +63,15 @@
<exclude name="Drupal.Commenting.FunctionComment.ParamMissingDefinition"/>
<exclude name="Drupal.Commenting.FunctionComment.TypeHintMissing"/>
</rule>
<rule ref="../vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Commenting/VariableCommentSniff.php">
<!-- Sniff for: DuplicateVar -->
<exclude name="Drupal.Commenting.VariableComment.InlineVariableName"/>
<exclude name="Drupal.Commenting.VariableComment.EmptyVar"/>
<exclude name="Drupal.Commenting.VariableComment.IncorrectVarType"/>
<exclude name="Drupal.Commenting.VariableComment.MissingVar"/>
<exclude name="Drupal.Commenting.VariableComment.VarOrder"/>
<exclude name="Drupal.Commenting.VariableComment.WrongStyle"/>
</rule>
<rule ref="../vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Commenting/InlineCommentSniff.php">
<!-- Sniff for: NoSpaceBefore -->
<exclude name="Drupal.Commenting.InlineComment.DocBlock"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment