Completed
Push — master ( c7b86e...bd44d0 )
by Tomáš
03:06
created
src/Renderable/File/AbstractFile.php 1 patch
Spacing   +2 added lines, -2 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
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
     public function getBaseName() : string
74 74
     {
75
-        return $this->fileInfo->getBasename('.' . $this->fileInfo->getExtension());
75
+        return $this->fileInfo->getBasename('.'.$this->fileInfo->getExtension());
76 76
     }
77 77
 
78 78
     public function getPrimaryExtension() : string
Please login to merge, or discard this patch.
src/Renderable/Configuration/ConfigurationDecorator.php 1 patch
Spacing   +2 added lines, -2 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
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     private function setConfigurationToFileIfFoundAny(string $content, AbstractFile $file)
37 37
     {
38
-        if (! preg_match('/^(\s*[-]+\s*|\s*)$/', $content)) {
38
+        if (!preg_match('/^(\s*[-]+\s*|\s*)$/', $content)) {
39 39
             $configuration = $this->yamlAndNeonParser->decode($content);
40 40
             $file->setConfiguration($configuration);
41 41
         }
Please login to merge, or discard this patch.
src/Renderable/Routing/RouteDecorator.php 1 patch
Spacing   +2 added lines, -2 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
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             }
36 36
         }
37 37
 
38
-        $file->setOutputPath($file->getBaseName() . DIRECTORY_SEPARATOR . 'index.html');
38
+        $file->setOutputPath($file->getBaseName().DIRECTORY_SEPARATOR.'index.html');
39 39
         $file->setRelativeUrl($file->getBaseName());
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
src/Renderable/Routing/Route/PostRoute.php 1 patch
Spacing   +2 added lines, -2 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
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function buildOutputPath(AbstractFile $file) : string
39 39
     {
40
-        return PathNormalizer::normalize($this->buildRelativeUrl($file) . '/index.html');
40
+        return PathNormalizer::normalize($this->buildRelativeUrl($file).'/index.html');
41 41
     }
42 42
 
43 43
     /**
Please login to merge, or discard this patch.
src/Renderable/Routing/Route/NotHtmlRoute.php 1 patch
Spacing   +2 added lines, -2 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
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
             return $file->getBaseName();
29 29
         }
30 30
 
31
-        return $file->getBaseName() . '.' . $file->getPrimaryExtension();
31
+        return $file->getBaseName().'.'.$file->getPrimaryExtension();
32 32
     }
33 33
 
34 34
     public function buildRelativeUrl(AbstractFile $file) : string
Please login to merge, or discard this patch.
src/Renderable/Routing/Route/IndexRoute.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/Renderable/RenderableFilesProcessor.php 1 patch
Spacing   +2 added lines, -2 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
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function processFiles(array $fileInfos)
81 81
     {
82
-        if (! count($fileInfos)) {
82
+        if (!count($fileInfos)) {
83 83
             return;
84 84
         }
85 85
 
Please login to merge, or discard this patch.
src/Console/ConsoleApplication.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/Output/FileSystemWriter.php 1 patch
Spacing   +2 added lines, -2 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
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     {
34 34
         foreach ($files as $file) {
35 35
             $relativeDestination = substr($file->getPathname(), strlen($this->configuration->getSourceDirectory()));
36
-            $absoluteDestination = $this->configuration->getOutputDirectory() . $relativeDestination;
36
+            $absoluteDestination = $this->configuration->getOutputDirectory().$relativeDestination;
37 37
 
38 38
             FileSystem::copy($file->getRealPath(), $absoluteDestination, true);
39 39
         }
Please login to merge, or discard this patch.