@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\Doctrine\Tests\Adapter\Nette\Tracy; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\Doctrine\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\Console\Adapter\Nette\DI; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\Console\Tests\Source; |
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\Console\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\Console\Tests\Adapter\Nette\DI; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\Console\Tests; |
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\RabbitMQ; |
4 | 4 | |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | if ($channel instanceof PromiseInterface) { |
141 | 141 | $this->isDeclared = true; |
142 | 142 | |
143 | - return $channel->then(function (Channel $channel) { |
|
143 | + return $channel->then(function(Channel $channel) { |
|
144 | 144 | $this->declareExchanges($channel); |
145 | 145 | $this->declareQueues($channel); |
146 | 146 | |
@@ -164,9 +164,9 @@ discard block |
||
164 | 164 | { |
165 | 165 | $client = $this->getClient(); |
166 | 166 | |
167 | - if (! $client->isConnected()) { |
|
167 | + if ( ! $client->isConnected()) { |
|
168 | 168 | if ($client instanceof AsyncClient) { |
169 | - return $client->connect()->then(function (AsyncClient $client) { |
|
169 | + return $client->connect()->then(function(AsyncClient $client) { |
|
170 | 170 | return $client->channel(); |
171 | 171 | }); |
172 | 172 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\RabbitMQ\Producer; |
4 | 4 |