Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Sep 21, 2024
1 parent fd55b13 commit 6a7b16f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/Benchmark/MetadataBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function benchEnvelopeReadRestored(): void

public function provideEnvelopeStack(): Generator
{
$config = [1=>'one', 5 => 'three', 15 => 'fifteen'];
$config = [1 => 'one', 5 => 'three', 15 => 'fifteen'];
$message = new IdEnvelope(new Message('foo', 'bar'), 1);

for ($i = 1; $i <= max(...array_keys($config)); $i++) {
Expand Down
7 changes: 3 additions & 4 deletions tests/Benchmark/QueueBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use Generator;
use PhpBench\Attributes\ParamProviders;
use PhpBench\Attributes\Skip;
use PhpBench\Model\Tag;
use Psr\Log\NullLogger;
use Yiisoft\Injector\Injector;
Expand All @@ -30,9 +29,9 @@

final class QueueBench
{
readonly private QueueInterface $queue;
readonly private JsonMessageSerializer $serializer;
readonly private VoidAdapter $adapter;
private readonly QueueInterface $queue;
private readonly JsonMessageSerializer $serializer;
private readonly VoidAdapter $adapter;

public function __construct()
{
Expand Down

0 comments on commit 6a7b16f

Please sign in to comment.