Skip to content

Commit 867e2a5

Browse files
committed
fix analysis errors and cs
1 parent 583279a commit 867e2a5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Rules/Deprecations/EchoDeprecatedBinaryOpToStringRule.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace PHPStan\Rules\Deprecations;
44

55
use PhpParser\Node;
6+
use PhpParser\Node\Expr\BinaryOp;
67
use PHPStan\Analyser\Scope;
78
use PHPStan\Broker\Broker;
8-
use PHPStan\Rules\RuleLevelHelper;
99
use PHPStan\Type\TypeUtils;
1010

1111
/**
@@ -24,7 +24,7 @@ public function __construct(Broker $broker)
2424

2525
public function getNodeType(): string
2626
{
27-
return Node\Expr\BinaryOp::class;
27+
return BinaryOp::class;
2828
}
2929

3030
public function processNode(Node $node, Scope $scope): array

tests/Rules/Deprecations/EchoDeprecatedBinaryOpToStringRuleTest.php

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace PHPStan\Rules\Deprecations;
44

5-
use PHPStan\Rules\RuleLevelHelper;
6-
75
/**
86
* @extends \PHPStan\Testing\RuleTestCase<EchoDeprecatedBinaryOpToStringRule>
97
*/

0 commit comments

Comments
 (0)