From 8ebc4fe30042ec3d42351792fb536bc8292face9 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sat, 12 Jun 2021 18:06:57 +0200 Subject: [PATCH] fix cs --- .../FuncCall/VersionCompareFuncCallToConstantRector.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/CodingStyle/Rector/FuncCall/VersionCompareFuncCallToConstantRector.php b/rules/CodingStyle/Rector/FuncCall/VersionCompareFuncCallToConstantRector.php index 35f8c9b90d5..16fd082ff17 100644 --- a/rules/CodingStyle/Rector/FuncCall/VersionCompareFuncCallToConstantRector.php +++ b/rules/CodingStyle/Rector/FuncCall/VersionCompareFuncCallToConstantRector.php @@ -4,7 +4,6 @@ namespace Rector\CodingStyle\Rector\FuncCall; -use Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\BinaryOp; @@ -50,8 +49,9 @@ final class VersionCompareFuncCallToConstantRector extends AbstractRector 'le' => SmallerOrEqual::class, ]; - public function __construct(private PhpVersionFactory $phpVersionFactory) - { + public function __construct( + private PhpVersionFactory $phpVersionFactory + ) { } public function getRuleDefinition(): RuleDefinition