Passed
Push — master ( 52c883...94b901 )
by Shiyu
02:28
created
src/Handlers/RequestLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
         if ($e) {
78 78
             $meta = array_merge($meta, [
79
-                'err' => get_class($e) . '::' . $e->getMessage(),
79
+                'err' => get_class($e).'::'.$e->getMessage(),
80 80
                 'file' => $e->getFile(),
81 81
                 'line' => $e->getLine(),
82 82
             ]);
Please login to merge, or discard this patch.
src/Components/Serving.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         // initial mark server "unavailable"
50 50
         Server::layers()->append(ServerWrapper::class, DI::object(ServerUnavailable::class));
51 51
 
52
-        $app->starting()->add(static function () use ($app, $options) {
52
+        $app->starting()->add(static function() use ($app, $options) {
53 53
             // add traffic monitor layer
54 54
             DI::has(Daemon::class) && Server::layers()->append(
55 55
                 ServerWrapper::class,
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             $app->conf()->bind($options, ['rpc.serv.opts' => ['tt.exec' => 'ttExec']]);
60 60
         });
61 61
 
62
-        $app->starting()->done()->then(static function () {
62
+        $app->starting()->done()->then(static function() {
63 63
             // mark server "available" when bootstrap done
64 64
             Server::layers()->remove(ServerUnavailable::class);
65 65
         });
Please login to merge, or discard this patch.
src/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         $this->name = $name;
47 47
         $this->listen = $listen;
48 48
 
49
-        $this->events()->attach(Worker::STARTED, static function (Conn $ctx) {
49
+        $this->events()->attach(Worker::STARTED, static function(Conn $ctx) {
50 50
             $ctx->events()->attach(HTTP::REQUESTING, RServer::layers()->handler());
51 51
         });
52 52
     }
Please login to merge, or discard this patch.