Passed
Push — develop ( 05b597...ba19c4 )
by Brent
02:38 queued 15s
created
src/Stitcher/File.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
         $path = self::path($path);
29 29
 
30
-        if (! file_exists(self::path($path))) {
30
+        if (!file_exists(self::path($path))) {
31 31
             return null;
32 32
         }
33 33
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     public static function write(string $path, $content = null): void
40 40
     {
41
-        if (! self::$fs) {
41
+        if (!self::$fs) {
42 42
             self::$fs = new Filesystem();
43 43
         }
44 44
 
Please login to merge, or discard this patch.
src/Stitcher/Task/PartialParse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         $matcher = new UrlMatcher($routeCollection, new RequestContext());
29 29
         $matchingRoute = $matcher->match($this->filter);
30 30
 
31
-        $filteredConfiguration = array_filter($parsedConfiguration, function ($key) use ($matchingRoute) {
31
+        $filteredConfiguration = array_filter($parsedConfiguration, function($key) use ($matchingRoute) {
32 32
             return $key === $matchingRoute['_route'];
33 33
         }, ARRAY_FILTER_USE_KEY);
34 34
 
Please login to merge, or discard this patch.
src/Pageon/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
         foreach ($configurationFiles as $configurationFile) {
68 68
             $loadedFileConfiguration = require $configurationFile;
69 69
 
70
-            if (! is_array($loadedFileConfiguration)) {
70
+            if (!is_array($loadedFileConfiguration)) {
71 71
                 continue;
72 72
             }
73 73
 
Please login to merge, or discard this patch.
src/Stitcher/Application/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
     protected function handleDynamicRoute(): ?Response
59 59
     {
60
-        if (! $this->router) {
60
+        if (!$this->router) {
61 61
             return null;
62 62
         }
63 63
 
Please login to merge, or discard this patch.
src/Stitcher/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     {
156 156
         $routeFile = File::path('src/routes.php');
157 157
 
158
-        if (! file_exists($routeFile)) {
158
+        if (!file_exists($routeFile)) {
159 159
             return;
160 160
         }
161 161
 
Please login to merge, or discard this patch.
src/Stitcher/Page/Adapter/PaginationAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     public function __construct(array $adapterConfiguration, VariableParser $variableParser)
18 18
     {
19
-        if (! $this->isValidConfiguration($adapterConfiguration)) {
19
+        if (!$this->isValidConfiguration($adapterConfiguration)) {
20 20
             throw InvalidConfiguration::invalidAdapterConfiguration('pagination', '`variable`, `parameter`, `perPage`');
21 21
         }
22 22
 
@@ -128,6 +128,6 @@  discard block
 block discarded – undo
128 128
 
129 129
     protected function createPaginatedUrl(string $pageId, int $index): string
130 130
     {
131
-        return str_replace('{' .$this->parameter. '}', $index, $pageId);
131
+        return str_replace('{' . $this->parameter . '}', $index, $pageId);
132 132
     }
133 133
 }
Please login to merge, or discard this patch.