From 542b7c0099659b451f2ccf6f7c05e95dac5f95f8 Mon Sep 17 00:00:00 2001 From: TomasVotruba Date: Tue, 26 Jan 2021 00:23:55 +0100 Subject: [PATCH] [phpstan] respect suffix fix --- utils/phpstan-extensions/config/rector-rules.neon | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/phpstan-extensions/config/rector-rules.neon b/utils/phpstan-extensions/config/rector-rules.neon index 1ab3bfcb4063..7690ddf46757 100644 --- a/utils/phpstan-extensions/config/rector-rules.neon +++ b/utils/phpstan-extensions/config/rector-rules.neon @@ -130,9 +130,11 @@ services: class: Symplify\PHPStanRules\Rules\ClassNameRespectsParentSuffixRule tags: [phpstan.rules.rule] arguments: + # @todo fix so the child clases respect this suffix parentClasses: - - Rector - - Rector\Composer\Contract\ComposerModifier\ComposerModifierInterface + - Rector\Core\Rector\AbstractRector + - Rector\PostRector\Rector\AbstractPostRector + - Rector\Composer\Contract\Rector\ComposerRectorInterface - class: Symplify\PHPStanRules\Rules\PreferredClassRule