@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\ElasticsearchNette\DI; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\ElasticsearchNette\Tracy; |
4 | 4 | |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | */ |
121 | 121 | public function debug($message, array $context = []): void |
122 | 122 | { |
123 | - if (! isset($context['request'], $context['response'], $context['responseStatus'])) { |
|
123 | + if ( ! isset($context['request'], $context['response'], $context['responseStatus'])) { |
|
124 | 124 | return; |
125 | 125 | } |
126 | 126 | |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | |
207 | 207 | private function logRequest(?Request $request, ?Response $response): void |
208 | 208 | { |
209 | - if (! $request || ! $response) { |
|
209 | + if ( ! $request || ! $response) { |
|
210 | 210 | return; |
211 | 211 | } |
212 | 212 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\ElasticsearchNette\Tests\DI; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\ElasticsearchNette\Tests; |
4 | 4 | |
@@ -13,11 +13,11 @@ discard block |
||
13 | 13 | { |
14 | 14 | $tempDir = __DIR__ . '/temp/' . getmypid(); |
15 | 15 | |
16 | - if (! file_exists($tempDir . '/log')) { |
|
16 | + if ( ! file_exists($tempDir . '/log')) { |
|
17 | 17 | mkdir($tempDir . '/log', 0777, true); |
18 | 18 | } |
19 | 19 | |
20 | - register_shutdown_function(function (): void { |
|
20 | + register_shutdown_function(function(): void { |
|
21 | 21 | FileSystem::delete(__DIR__ . '/temp'); |
22 | 22 | }); |
23 | 23 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\ElasticsearchNette\Tests\Tracy; |
4 | 4 |
@@ -1,3 +1,3 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | require_once __DIR__ . '/../vendor/autoload.php'; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\ElasticsearchNette\Tests; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\RabbitMQSymfony\DependencyInjection; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\RabbitMQSymfony; |
4 | 4 |