diff --git a/tests/Rules/NoSingleInterfaceImplementerRule/NoSingleInterfaceImplementerRuleTest.php b/tests/Rules/NoSingleInterfaceImplementerRule/NoSingleInterfaceImplementerRuleTest.php index 43e16165..3cc35e7d 100644 --- a/tests/Rules/NoSingleInterfaceImplementerRule/NoSingleInterfaceImplementerRuleTest.php +++ b/tests/Rules/NoSingleInterfaceImplementerRule/NoSingleInterfaceImplementerRuleTest.php @@ -33,6 +33,9 @@ public static function provideData(): Iterator yield [[__DIR__ . '/Fixture/SimpleInterface.php'], []]; yield [[__DIR__ . '/Fixture/AllowAbstract.php', __DIR__ . '/Fixture/SimpleInterface.php'], []]; + // already counted in abstract class + yield [[__DIR__ . '/Fixture/AllowAbstract.php', __DIR__ . '/Fixture/SimpleInterface.php', __DIR__ . '/Fixture/ImplementsSimpleInterface.php'], []]; + yield [ [ __DIR__ . '/Fixture/SimpleInterface.php',