Completed
Push — master ( 400fa1...4ef81b )
by Charles
01:39
created
commands/WorkerController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace app\commands;
4 4
 
Please login to merge, or discard this patch.
config/common.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
     'id' => $yaml['app']['id'],
9 9
     'name' => $yaml['app']['name'],
10 10
     'basePath' => dirname(__DIR__),
11
-    'bootstrap' => [ 'log' ],
11
+    'bootstrap' => ['log'],
12 12
     'language' => 'en-US',
13 13
     'sourceLanguage' => 'en-US',
14 14
     'components' => [
Please login to merge, or discard this patch.
components/HttpClientComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             'transport' => $this->transport
54 54
         ]);
55 55
 
56
-        $this->client->on(Client::EVENT_BEFORE_SEND, function (RequestEvent $e) {
56
+        $this->client->on(Client::EVENT_BEFORE_SEND, function(RequestEvent $e) {
57 57
             Yii::info([
58 58
                 'message' => sprintf('Sending HTTP request [%s] %s', $e->request->getMethod(), $e->request->getUrl()),
59 59
                 'data' => [
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             ], 'httpclient');
66 66
         });
67 67
 
68
-        $this->client->on(Client::EVENT_AFTER_SEND, function (RequestEvent $e) {
68
+        $this->client->on(Client::EVENT_AFTER_SEND, function(RequestEvent $e) {
69 69
             Yii::info([
70 70
                 'message' => sprintf('Recieved HTTP response HTTP [%s] | [%s] %s', $e->response->getStatusCode(), $e->request->getMethod(), $e->request->getUrl()),
71 71
                 'data' => [
Please login to merge, or discard this patch.
components/log/PsrTarget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
             if (!is_string($text)) {
64 64
                 // exceptions may not be serializable if in the call stack somewhere is a Closure
65 65
                 if ($text instanceof \Throwable || $text instanceof \Exception) {
66
-                    $text = (string)$text;
66
+                    $text = (string) $text;
67 67
                 } else if (\is_array($text)) {
68 68
                     $ctx = $text;
69 69
                     if (isset($ctx['message'])) {
Please login to merge, or discard this patch.