Skip to content

Commit

Permalink
[phpstan] respect suffix fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 25, 2021
1 parent abadc54 commit 542b7c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils/phpstan-extensions/config/rector-rules.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 542b7c0

Please sign in to comment.