Completed
Branch master (2d05f2)
by Demonchaux
02:16
created
src/CloverToHtml/File.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     }
128 128
 
129 129
     /**
130
-     * @return number
130
+     * @return integer
131 131
      */
132 132
     public function getCountClass()
133 133
     {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-     * @return number
138
+     * @return integer
139 139
      */
140 140
     public function getMethodCoveredCount()
141 141
     {
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-     * @return number
152
+     * @return integer
153 153
      */
154 154
     public function getMethodCount()
155 155
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @return number
166
+     * @return integer
167 167
      */
168 168
     public function getLineCount()
169 169
     {
Please login to merge, or discard this 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/Render.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,6 @@
 block discarded – undo
139 139
     /**
140 140
      * @param Directory $directory
141 141
      * @param string    $target
142
-     * @param string    $basePath
143 142
      */
144 143
     private function renderDirectory(Directory $directory, $target)
145 144
     {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
                     'assets' => $this->assetsPath($target, $path),
123 123
                 )
124 124
             )
125
-         );
125
+            );
126 126
     }
127 127
 
128 128
     /**
Please login to merge, or discard this patch.
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/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.