@@ -5,7 +5,7 @@ |
||
| 5 | 5 | $output |
| 6 | 6 | ); |
| 7 | 7 | |
| 8 | - if (! empty($output)) { |
|
| 8 | + if (!empty($output)) { |
|
| 9 | 9 | $process = trim(array_shift($output)); |
| 10 | 10 | preg_match('/(\d+)$/', $process, $matches); |
| 11 | 11 | $cmd = 'kill ' . (int) $matches[1]; |
@@ -13,13 +13,13 @@ |
||
| 13 | 13 | |
| 14 | 14 | 'payloadtest' => [ |
| 15 | 15 | 'method' => 'GET', |
| 16 | - 'pattern' => '/payload/[{id:\d+}]', // [] = optional |
|
| 16 | + 'pattern' => '/payload/[{id:\d+}]', // [] = optional |
|
| 17 | 17 | 'handler' => 'App\Http\Action\HomeActionPayload' |
| 18 | 18 | ], |
| 19 | 19 | |
| 20 | 20 | 'payloadtesttwo' => [ |
| 21 | 21 | 'method' => 'GET', |
| 22 | - 'pattern' => '/payloadtwo/[{id:\d+}]', // [] = optional |
|
| 22 | + 'pattern' => '/payloadtwo/[{id:\d+}]', // [] = optional |
|
| 23 | 23 | 'handler' => 'App\Http\Action\HomeActionPayloadTwo' |
| 24 | 24 | ], |
| 25 | 25 | |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | /** |
| 3 | 3 | * stardust / a project skeleton for darkmatter |
| 4 | 4 | */ |
| 5 | -declare(strict_types = 1); |
|
| 5 | +declare(strict_types=1); |
|
| 6 | 6 | |
| 7 | 7 | // date_default_timezone_set('UTC'); |
| 8 | 8 | |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | /** |
| 3 | 3 | * launch script |
| 4 | 4 | */ |
| 5 | -declare(strict_types = 1); |
|
| 5 | +declare(strict_types=1); |
|
| 6 | 6 | |
| 7 | 7 | use DarkMatter\Components\Logger\Factory as LoggerFactory; |
| 8 | 8 | use DarkMatter\Http\Request; |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace App\Http; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace App\Http\Action; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace App\Domain; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * darkmatter framework |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace App\Http\Action; |
| 6 | 6 | |