Skip to content

Commit 8ad84c0

Browse files
committed
Fix cs
1 parent 4fa2d3a commit 8ad84c0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/PHPStan/Rules/DeadCode/UnreachableStatementNextStatementsRuleTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
use PHPStan\Rules\Rule;
99
use PHPStan\Rules\RuleErrorBuilder;
1010
use PHPStan\Testing\RuleTestCase;
11+
use function count;
12+
use function sprintf;
1113

1214
/**
1315
* @extends RuleTestCase<Rule>
@@ -35,7 +37,7 @@ public function processNode(Node $node, Scope $scope): array
3537
$totalNextStatements = count($node->getNextStatements());
3638

3739
return [
38-
RuleErrorBuilder::message(sprintf("It has %d over first unreachable statements", $totalNextStatements))
40+
RuleErrorBuilder::message(sprintf('It has %d over first unreachable statements', $totalNextStatements))
3941
->identifier('tests.total.next.unreachable.statement')
4042
->build(),
4143
];
@@ -49,7 +51,7 @@ public function testRule(): void
4951
$this->analyse([__DIR__ . '/data/multiple_unreachable.php'], [
5052
[
5153
'It has 2 over first unreachable statements',
52-
14
54+
14,
5355
],
5456
]);
5557
}

0 commit comments

Comments
 (0)