Completed
Branch master (2d05f2)
by Demonchaux
02:16
created
src/CloverToHtml/Directory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      */
107 107
     public function getLink()
108 108
     {
109
-        return $this->getName() . '/index.html';
109
+        return $this->getName().'/index.html';
110 110
     }
111 111
 
112 112
     /**
Please login to merge, or discard this patch.
src/CloverToHtml/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function getDestination($basePath)
59 59
     {
60
-        return $this->getDir($basePath) . basename($this->name, '.php').'.html';
60
+        return $this->getDir($basePath).basename($this->name, '.php').'.html';
61 61
     }
62 62
 
63 63
     /**
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     public function getDirectory($basePath)
68 68
     {
69 69
         $dirname = dirname(str_replace($basePath, '', $this->name));
70
-        return ($dirname === '.' ? '' : $dirname . '/');
70
+        return ($dirname === '.' ? '' : $dirname.'/');
71 71
     }
72 72
 
73 73
     /**
Please login to merge, or discard this patch.
src/CloverToHtml/Hydrator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             $pathCollection[] = $file->getName();
71 71
         }
72 72
 
73
-        return $this->getCommonPath($pathCollection) . '/';
73
+        return $this->getCommonPath($pathCollection).'/';
74 74
     }
75 75
 
76 76
     /**
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
         $common     = '/';
87 87
 
88 88
         while (($index = strpos($paths[0], '/', $lastOffset)) !== false) {
89
-            $dirLen = $index - $lastOffset + 1;    // include /
89
+            $dirLen = $index - $lastOffset + 1; // include /
90 90
             $dir    = substr($paths[0], $lastOffset, $dirLen);
91 91
 
92 92
             foreach ($paths as $path) {
Please login to merge, or discard this patch.