diff --git a/tests/Benchmark/MetadataBench.php b/tests/Benchmark/MetadataBench.php index f620c7f2..459cd53b 100644 --- a/tests/Benchmark/MetadataBench.php +++ b/tests/Benchmark/MetadataBench.php @@ -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++) { diff --git a/tests/Benchmark/QueueBench.php b/tests/Benchmark/QueueBench.php index 9a7a8a61..76480523 100644 --- a/tests/Benchmark/QueueBench.php +++ b/tests/Benchmark/QueueBench.php @@ -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; @@ -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() {