Completed
Push — master ( d725fc...d5b5b8 )
by Damien
02:36
created
src/Veto/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
             $layerChain = $this->container->get('chain');
125 125
             $response = $layerChain->processLayers($request);
126 126
 
127
-        } catch(\Exception $exception) {
127
+        } catch (\Exception $exception) {
128 128
 
129 129
             // Invoke the exception controller action method
130 130
             $exceptionHandler = $this->container->get('controller._exception_handler');
Please login to merge, or discard this patch.
src/Veto/Configuration/Hive.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
                 );
45 45
             }
46 46
 
47
-            foreach($config['@import'] as $importPath) {
47
+            foreach ($config['@import'] as $importPath) {
48 48
                 $importPath = dirname($path) . '/' . $importPath;
49 49
 
50 50
                 if (!file_exists($importPath)) {
Please login to merge, or discard this patch.
src/Veto/HTTP/MessageBody.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -224,8 +224,7 @@
 block discarded – undo
224 224
     public function seek($offset, $whence = SEEK_SET)
225 225
     {
226 226
         return $this->isAttached() && $this->isSeekable() ?
227
-            fseek($this->stream, $offset, $whence) :
228
-            false;
227
+            fseek($this->stream, $offset, $whence) : false;
229 228
     }
230 229
 
231 230
     /**
Please login to merge, or discard this patch.
src/Veto/HTTP/Uri.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
         $user = $environment->get('PHP_AUTH_USER', '');
169 169
         $password = $environment->get('PHP_AUTH_PW', '');
170 170
         $host = $environment->get('HTTP_HOST', $environment->get('SERVER_NAME'));
171
-        $port = (int)$environment->get('SERVER_PORT', null);
171
+        $port = (int) $environment->get('SERVER_PORT', null);
172 172
 
173 173
         // Path
174 174
         $requestUri = parse_url($environment->get('REQUEST_URI'), PHP_URL_PATH);
Please login to merge, or discard this patch.
src/Veto/Layer/LayerChain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         // Enforce the type of $layer
41 41
         if (!($layer instanceof InboundLayerInterface || $layer instanceof OutboundLayerInterface)) {
42 42
             throw new \InvalidArgumentException(
43
-                'Argument 1 of '  . __CLASS__ . '::' . __METHOD__ .
43
+                'Argument 1 of ' . __CLASS__ . '::' . __METHOD__ .
44 44
                 ' must be either an InboundLayerInterface or an OutboundLayerInterface instance.'
45 45
             );
46 46
         }
Please login to merge, or discard this patch.
src/Veto/Templating/Engine/TwigEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         // Determine the type of loader that is used by this twig
42 42
         if ($loader instanceof \Twig_Loader_Filesystem) {
43 43
             $loader->addPath($path);
44
-        } else if($loader instanceof \Twig_Loader_Chain) {
44
+        } else if ($loader instanceof \Twig_Loader_Chain) {
45 45
             $loader->addLoader(
46 46
                 new \Twig_Loader_Filesystem($path)
47 47
             );
Please login to merge, or discard this patch.