[CI] check conflicting methods in tests

This commit is contained in:
TomasVotruba 2020-12-09 23:35:48 +01:00
parent d131d804d9
commit 7db83da35d

View File

@ -10,6 +10,16 @@ includes:
- vendor/symplify/phpstan-rules/packages/cognitive-complexity/config/cognitive-complexity-services.neon
services:
-
class: Symplify\PHPStanRules\Rules\OnlyOneClassMethodRule
tags: [phpstan.rules.rule]
arguments:
onlyOneMethodsByType:
Rector\Testing\PHPUnit\AbstractRectorTestCase:
- getRectorClass
- provideConfigFileInfo
- getRectorsWithConfiguration
-
class: Symplify\PHPStanRules\Rules\NoParticularNodeRule
tags: [phpstan.rules.rule]