Passed
Pull Request — master (#11)
by Joao
01:52
created
src/OutputProcessor/OutputProcessorInterface.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
     public function getDetailedErrorHandler();
41 41
 
42 42
         /**
43
-     * @return Handler
44
-     */
43
+         * @return Handler
44
+         */
45 45
     public function getErrorHandler();
46 46
 
47 47
     /**
Please login to merge, or discard this patch.
src/HttpRequestHandler.php 1 patch
Switch Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -98,37 +98,37 @@
 block discarded – undo
98 98
 
99 99
         // Processing
100 100
         switch ($routeInfo[0]) {
101
-            case Dispatcher::NOT_FOUND:
102
-                $outputProcessor->processResponse($this->getHttpResponse());
103
-                throw new Error404Exception("Route '$uri' not found");
101
+        case Dispatcher::NOT_FOUND:
102
+            $outputProcessor->processResponse($this->getHttpResponse());
103
+            throw new Error404Exception("Route '$uri' not found");
104 104
 
105
-            case Dispatcher::METHOD_NOT_ALLOWED:
106
-                $outputProcessor->processResponse($this->getHttpResponse());
107
-                throw new Error405Exception('Method not allowed');
105
+        case Dispatcher::METHOD_NOT_ALLOWED:
106
+            $outputProcessor->processResponse($this->getHttpResponse());
107
+            throw new Error405Exception('Method not allowed');
108 108
 
109
-            case Dispatcher::FOUND:
110
-                // ... 200 Process:
111
-                $vars = array_merge($routeInfo[2], $queryStr);
109
+        case Dispatcher::FOUND:
110
+            // ... 200 Process:
111
+            $vars = array_merge($routeInfo[2], $queryStr);
112 112
 
113
-                // Get the Selected Route
114
-                $selectedRoute = $routeInfo[1];
113
+            // Get the Selected Route
114
+            $selectedRoute = $routeInfo[1];
115 115
 
116
-                // Class
117
-                $class = $selectedRoute["class"];
118
-                $this->getHttpRequest()->appendVars($vars);
116
+            // Class
117
+            $class = $selectedRoute["class"];
118
+            $this->getHttpRequest()->appendVars($vars);
119 119
 
120
-                // Get OutputProcessor
121
-                $outputProcessor = $this->initializeProcessor(
122
-                    $selectedRoute["output_processor"]
123
-                );
120
+            // Get OutputProcessor
121
+            $outputProcessor = $this->initializeProcessor(
122
+                $selectedRoute["output_processor"]
123
+            );
124 124
                 
125
-                // Execute the request
126
-                $this->executeRequest($outputProcessor, $class);
125
+            // Execute the request
126
+            $this->executeRequest($outputProcessor, $class);
127 127
 
128
-                break;
128
+            break;
129 129
 
130
-            default:
131
-                throw new Error520Exception('Unknown');
130
+        default:
131
+            throw new Error520Exception('Unknown');
132 132
         }
133 133
     }
134 134
 
Please login to merge, or discard this patch.
src/Whoops/WhoopsWrapper.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@
 block discarded – undo
49 49
      *
50 50
      ********************************************************* */
51 51
 
52
-     /**
53
-     * @return int|null A handler may return nothing, or a Handler::HANDLE_* constant
54
-     */
52
+        /**
53
+         * @return int|null A handler may return nothing, or a Handler::HANDLE_* constant
54
+         */
55 55
     public function handle()
56 56
     {
57 57
         $r = new ReflectionMethod($this->effectiveHandler, 'getException');
Please login to merge, or discard this patch.