Passed
Push — master ( b187fb...1886f9 )
by Joao
07:02
created
src/OutputProcessor/MockOutputProcessor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
 
21 21
     protected function writeHeader(HttpResponse $response)
22 22
     {
23
-        echo "HTTP/1.1 " . $response->getResponseCode() . "\r\n";
24
-        echo "Content-Type: " . $this->getContentType() . "\r\n";
23
+        echo "HTTP/1.1 ".$response->getResponseCode()."\r\n";
24
+        echo "Content-Type: ".$this->getContentType()."\r\n";
25 25
 
26 26
         foreach ($response->getHeaders() as $header) {
27 27
             if (is_array($header)) {
Please login to merge, or discard this patch.
src/OutputProcessor/BaseOutputProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         if (defined("RESTSERVER_TEST")) {
63 63
             return;
64 64
         }
65
-        header("Content-Type: " . $this->contentType);
65
+        header("Content-Type: ".$this->contentType);
66 66
     }
67 67
 
68 68
     public function getContentType()
Please login to merge, or discard this patch.
src/Whoops/PlainResponseErrorHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
         $debug = $this->getDataTable();
52 52
         if (count($debug) > 0) {
53
-            $response .= "\n\n" . json_encode(["debug" => $debug]);
53
+            $response .= "\n\n".json_encode(["debug" => $debug]);
54 54
         }
55 55
 
56 56
         $this->setProperHeader($this->getException());
Please login to merge, or discard this patch.