Skip to content

Commit cee3e05

Browse files
committed
refactor(InterfaceName): Replace Drupal.Classes.InterfaceName with Generic.NamingConventions.InterfaceNameSuffix
1 parent 0b3f216 commit cee3e05

File tree

3 files changed

+2
-62
lines changed

3 files changed

+2
-62
lines changed

coder_sniffer/Drupal/Sniffs/Classes/InterfaceNameSniff.php

Lines changed: 0 additions & 60 deletions
This file was deleted.

coder_sniffer/Drupal/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<severity>0</severity>
5252
</rule>
5353
<rule ref="Generic.NamingConventions.ConstructorName"/>
54+
<rule ref="Generic.NamingConventions.InterfaceNameSuffix"/>
5455
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
5556
<rule ref="Generic.PHP.DeprecatedFunctions"/>
5657
<rule ref="Generic.PHP.DisallowShortOpenTag">

tests/Drupal/bad/BadUnitTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ protected function getErrorList(string $testFile): array
353353
805 => 1,
354354
806 => 1,
355355
807 => 1,
356-
809 => 4,
356+
809 => 5,
357357
815 => 1,
358358
820 => 1,
359359
827 => 1,
@@ -464,7 +464,6 @@ protected function getWarningList(string $testFile): array
464464
495 => 1,
465465
787 => 1,
466466
788 => 1,
467-
809 => 1,
468467
823 => 1,
469468
824 => 1,
470469
836 => 1,

0 commit comments

Comments
 (0)