Passed
Push — update-cs ( 1a0351...eddda2 )
by Akihito
01:58
created
src/Extension/Router/RouterMatch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
     {
34 34
         $querySymbol = $this->query ? '?' : '';
35 35
 
36
-        return "{$this->method} {$this->path}{$querySymbol}" . http_build_query($this->query);
36
+        return "{$this->method} {$this->path}{$querySymbol}".http_build_query($this->query);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
src/Provide/Router/WebRouter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $method = strtolower($server['REQUEST_METHOD']);
48 48
         $match = new RouterMatch();
49 49
         $match->method = $method;
50
-        $match->path = $this->schemeHost . parse_url($server['REQUEST_URI'], PHP_URL_PATH);
50
+        $match->path = $this->schemeHost.parse_url($server['REQUEST_URI'], PHP_URL_PATH);
51 51
         $match->query = $method === 'get' ? $globals['_GET'] : $this->getUnsafeQuery($method, $globals, $server);
52 52
 
53 53
         return $match;
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         }
89 89
 
90 90
         $isApplicationJson = strpos($contentType, 'application/json') !== false;
91
-        if (! $isApplicationJson) {
91
+        if (!$isApplicationJson) {
92 92
             return [];
93 93
         }
94 94
 
Please login to merge, or discard this patch.
src/Provide/Error/VndError.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 
74 74
     private function isCodeExists(Exception $e): bool
75 75
     {
76
-        if (! ($e instanceof NotFound) && ! ($e instanceof BadRequest) && ! ($e instanceof ServerError)) {
76
+        if (!($e instanceof NotFound) && !($e instanceof BadRequest) && !($e instanceof ServerError)) {
77 77
             return false;
78 78
         }
79 79
 
Please login to merge, or discard this patch.
src/Provide/Transfer/ConditionalResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function isModified(ResourceObject $ro, array $server): bool
29 29
     {
30
-        return ! (isset($server['HTTP_IF_NONE_MATCH'], $ro->headers['ETag']) && $server['HTTP_IF_NONE_MATCH'] === $ro->headers['ETag']);
30
+        return !(isset($server['HTTP_IF_NONE_MATCH'], $ro->headers['ETag']) && $server['HTTP_IF_NONE_MATCH'] === $ro->headers['ETag']);
31 31
     }
32 32
 
33 33
     /**
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $headers = [];
39 39
         foreach ($originalHeaders as $label => $value) {
40
-            if (! in_array($label, self::HEADER_IN_304, true)) {
40
+            if (!in_array($label, self::HEADER_IN_304, true)) {
41 41
                 continue;
42 42
             }
43 43
 
Please login to merge, or discard this patch.