Skip to content

Commit

Permalink
[rector] Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 12, 2024
1 parent 4c3ca78 commit 4ffea22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/NodeCollectorExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
use TomasVotruba\UnusedPublic\Collectors\StaticCall\StaticMethodCallCollector;
use TomasVotruba\UnusedPublic\ValueObject\LocalAndExternalMethodCallReferences;

final class NodeCollectorExtractor
final readonly class NodeCollectorExtractor
{
public function __construct(
private readonly MethodCallCollectorMapper $methodCallCollectorMapper
private MethodCallCollectorMapper $methodCallCollectorMapper
) {
}

Expand Down
2 changes: 0 additions & 2 deletions src/Rules/RelativeUnusedPublicClassMethodRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ public function processNode(Node $node, Scope $scope): array

// php method calls are case-insensitive
$lowerCompleteMethodCallReferences = Strings::lowercase($completeMethodCallReferences);

$ruleErrors = [];
$publicMethodCount = 0;
$unusedPublicMethodCount = 0;

Expand Down

0 comments on commit 4ffea22

Please sign in to comment.