Completed
Push — master ( bd44d0...9017a1 )
by Tomáš
04:50
created
src/Renderable/Latte/DynamicStringLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is a part of Sculpin.
Please login to merge, or discard this patch.
src/Contract/Source/SourceFileFilter/SourceFileFilterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is a part of Sculpin.
Please login to merge, or discard this patch.
src/Contract/Renderable/DecoratorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is a part of Sculpin.
Please login to merge, or discard this patch.
src/Utils/PathNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is a part of Sculpin.
Please login to merge, or discard this patch.
src/Github/GihubPublishingProcess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is a part of Sculpin.
Please login to merge, or discard this patch.
src/Configuration/Parser/YamlAndNeonParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is a part of Sculpin.
Please login to merge, or discard this patch.
src/Exception/Utils/MissingDirectoryException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is a part of Sculpin.
Please login to merge, or discard this patch.
src/HttpServer/HttpServer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Symplify
@@ -67,13 +67,13 @@  discard block
 block discarded – undo
67 67
 
68 68
         $this->port = $port;
69 69
 
70
-        $this->reactHttpServer->on('request', function (Request $request, Response $response) {
71
-            $path = $this->configuration->getOutputDirectory() . '/' . ltrim(rawurldecode($request->getPath()), '/');
70
+        $this->reactHttpServer->on('request', function(Request $request, Response $response) {
71
+            $path = $this->configuration->getOutputDirectory().'/'.ltrim(rawurldecode($request->getPath()), '/');
72 72
             if (is_dir($path)) {
73 73
                 $path .= '/index.html';
74 74
             }
75 75
 
76
-            if (! file_exists($path)) {
76
+            if (!file_exists($path)) {
77 77
                 $this->responseWriter->send404Response($request, $response);
78 78
             } else {
79 79
                 $this->responseWriter->send200Response($request, $response, $path);
Please login to merge, or discard this patch.
src/HttpServer/ResponseWriter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Symplify
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         ]);
41 41
 
42 42
         $response->end(
43
-            '<h1>404 - Not Found</h1>' .
43
+            '<h1>404 - Not Found</h1>'.
44 44
             '<p>Sculpin web server could not find the requested resource.</p>'
45 45
         );
46 46
     }
@@ -75,6 +75,6 @@  discard block
 block discarded – undo
75 75
             $wrapClose = '</error>';
76 76
         }
77 77
 
78
-        return $wrapOpen . $message . $wrapClose;
78
+        return $wrapOpen.$message.$wrapClose;
79 79
     }
80 80
 }
Please login to merge, or discard this patch.