Completed
Push — cleanup ( 4198cf...e2cb58 )
by Akihito
04:45
created
src/Provide/Error/ErrorPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
     {
25 25
         $string = parent::__toString();
26 26
 
27
-        return $string . $this->postBody;
27
+        return $string.$this->postBody;
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Provide/Representation/CreatedResourceInterceptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         /** @var ResourceObject $ro */
31 31
         $ro = $invocation->proceed();
32 32
         $isCreated = $ro->code === 201 && isset($ro->headers['Location']);
33
-        if (! $isCreated) {
33
+        if (!$isCreated) {
34 34
             return $ro;
35 35
         }
36 36
         $ro->setRenderer($this->renderer);
Please login to merge, or discard this patch.
src/Provide/Error/LogRef.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
     public function __construct(\Exception $e)
20 20
     {
21
-        $this->ref = hash('crc32b', \get_class($e) . $e->getMessage() . $e->getFile() . $e->getLine());
21
+        $this->ref = hash('crc32b', \get_class($e).$e->getMessage().$e->getFile().$e->getLine());
22 22
     }
23 23
 
24 24
     public function __toString()
Please login to merge, or discard this patch.
src/Context/Provider/ProdCacheProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function __construct(AbstractAppMeta $appMeta, string $namespace)
32 32
     {
33
-        $this->cacheDir = $appMeta->tmpDir . '/cache';
33
+        $this->cacheDir = $appMeta->tmpDir.'/cache';
34 34
         $this->namespace = $namespace;
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/Provide/Error/DevVndErrorPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     public function toString()
23 23
     {
24
-        $this->view = json_encode($this->body, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL;
24
+        $this->view = json_encode($this->body, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES).PHP_EOL;
25 25
 
26 26
         return $this->view;
27 27
     }
Please login to merge, or discard this patch.
src/Provide/Error/ProdVndErrorPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
     public function toString()
23 23
     {
24
-        $this->view = json_encode($this->body, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL;
24
+        $this->view = json_encode($this->body, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES).PHP_EOL;
25 25
 
26 26
         return $this->view;
27 27
     }
Please login to merge, or discard this patch.
src/Provide/Router/RouterCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     {
34 34
         foreach ($this->routers as $route) {
35 35
             $match = $route->match($globals, $server);
36
-            if ($match instanceof RouterMatch && ! ($match instanceof NullMatch)) {
36
+            if ($match instanceof RouterMatch && !($match instanceof NullMatch)) {
37 37
                 return $match;
38 38
             }
39 39
         }
Please login to merge, or discard this patch.
src/Context/CliModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $this->bind(RouterInterface::class)->to(CliRouter::class);
27 27
         $this->bind(TransferInterface::class)->to(CliResponder::class);
28 28
         $this->bind(HttpCacheInterface::class)->to(CliHttpCache::class);
29
-        $stdIn = tempnam(sys_get_temp_dir(), 'stdin-' . crc32(__FILE__));
29
+        $stdIn = tempnam(sys_get_temp_dir(), 'stdin-'.crc32(__FILE__));
30 30
         $this->bind()->annotatedWith(StdIn::class)->toInstance($stdIn);
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
 
31 31
     public function newApp(AbstractAppMeta $appMeta, string $contexts, Cache $cache = null, string $cacheNamespace = null) : AbstractApp
32 32
     {
33
-        $cacheNamespace = is_string($cacheNamespace) ? $cacheNamespace : (string) filemtime($appMeta->appDir . '/src');
33
+        $cacheNamespace = is_string($cacheNamespace) ? $cacheNamespace : (string) filemtime($appMeta->appDir.'/src');
34 34
         $injector = new AppInjector($appMeta->name, $contexts, $appMeta, $cacheNamespace);
35 35
         $cache = $cache instanceof Cache ? $cache : $injector->getCachedInstance(Cache::class);
36
-        $appId = $appMeta->name . $contexts . $cacheNamespace;
36
+        $appId = $appMeta->name.$contexts.$cacheNamespace;
37 37
         $app = $cache->fetch($appId);
38 38
         if ($app instanceof AbstractApp) {
39 39
             return $app;
Please login to merge, or discard this patch.