Skip to content

Commit 6982a8d

Browse files
committed
better names
1 parent 0bc49df commit 6982a8d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: tests/PHPStan/Analyser/InstanceMethodsParameterRule.php renamed to tests/PHPStan/Analyser/InstanceMethodsParameterScopeFunctionRule.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* @implements Rule<FullyQualified>
1414
*/
15-
class InstanceMethodsParameterRule implements Rule
15+
class InstanceMethodsParameterScopeFunctionRule implements Rule
1616
{
1717

1818
public function getNodeType(): string

Diff for: tests/PHPStan/Analyser/InstanceMethodsParameterScopeTest.php renamed to tests/PHPStan/Analyser/InstanceMethodsParameterScopeFunctionTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
use const PHP_VERSION_ID;
88

99
/**
10-
* @extends RuleTestCase<InstanceMethodsParameterRule>
10+
* @extends RuleTestCase<InstanceMethodsParameterScopeFunctionRule>
1111
*/
12-
class InstanceMethodsParameterScopeTest extends RuleTestCase
12+
class InstanceMethodsParameterScopeFunctionTest extends RuleTestCase
1313
{
1414

1515
protected function getRule(): Rule
1616
{
17-
return new InstanceMethodsParameterRule();
17+
return new InstanceMethodsParameterScopeFunctionRule();
1818
}
1919

2020
protected function shouldNarrowMethodScopeFromConstructor(): bool

0 commit comments

Comments
 (0)