Skip to content

Commit

Permalink
Merge pull request #236 from ergebnis/fix/rename
Browse files Browse the repository at this point in the history
Fix: Rename method
  • Loading branch information
ergebnis-bot committed Nov 1, 2020
2 parents 90a7658 + 4be9d45 commit 6e5c42d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,12 @@
<code>getFixers</code>
<code>registerBuiltInFixers</code>
</InternalMethod>
<MixedInferredReturnType occurrences="3">
<MixedInferredReturnType occurrences="2">
<code>\Generator</code>
<code>\Generator</code>
<code>array&lt;int, string&gt;</code>
</MixedInferredReturnType>
<MixedMethodCall occurrences="1">
<code>getRules</code>
</MixedMethodCall>
<MixedReturnStatement occurrences="1">
<code>$builtInFixerNames</code>
</MixedReturnStatement>
</file>
</files>
6 changes: 3 additions & 3 deletions test/Unit/RuleSet/AbstractRuleSetTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ final public function provideValidHeader(): \Generator
}

/**
* @dataProvider provideRuleNames
* @dataProvider provideSourceAndRuleNames
*
* @param string[] $ruleNames
*/
Expand All @@ -140,7 +140,7 @@ final public function testRulesAreSortedByName(string $source, array $ruleNames)
}

/**
* @dataProvider provideRuleNames
* @dataProvider provideSourceAndRuleNames
*
* @param string[] $ruleNames
*/
Expand All @@ -157,7 +157,7 @@ final public function testRulesDoNotContainRuleSets(string $source, array $ruleN
));
}

final public function provideRuleNames(): \Generator
final public function provideSourceAndRuleNames(): \Generator
{
$values = [
static::className() => self::createRuleSet()->rules(),
Expand Down

0 comments on commit 6e5c42d

Please sign in to comment.