Completed
Pull Request — master (#35)
by Alan
02:34
created
src/integration/PHPCopyPasteDetector.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     public function getIgnoredArgument()
26 26
     {
27 27
         if (!empty($this->ignoredPaths)) {
28
-            return '--exclude={' . implode(',', $this->ignoredPaths) . '} ';
28
+            return '--exclude={'.implode(',', $this->ignoredPaths).'} ';
29 29
         }
30 30
         return '';
31 31
     }
@@ -35,10 +35,10 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function getCommand($targetPaths)
37 37
     {
38
-        return $this->binariesPath . 'phpcpd '
39
-            . implode(' ', $targetPaths) . ' '
40
-            . $this->getIgnoredArgument() . '--log-pmd="'
41
-            . $this->temporaryFilePath . '"';
38
+        return $this->binariesPath.'phpcpd '
39
+            . implode(' ', $targetPaths).' '
40
+            . $this->getIgnoredArgument().'--log-pmd="'
41
+            . $this->temporaryFilePath.'"';
42 42
     }
43 43
 
44 44
     /**
Please login to merge, or discard this patch.
src/templates/index.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     <?php foreach ($files as $fileName => $issuesCount) : ?>
17 17
     <tr>
18 18
       <td class="mdl-data-table__cell--non-numeric"><a href="<?=
19
-        str_replace(DIRECTORY_SEPARATOR, '_', $fileName) . '.html'
19
+        str_replace(DIRECTORY_SEPARATOR, '_', $fileName).'.html'
20 20
         ?>"><?= $fileName ?></a></td>
21 21
       <td><?= $issuesCount ?></td>
22 22
     </tr>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,12 @@
 block discarded – undo
23 23
     <?php endforeach; ?>
24 24
   </tbody>
25 25
 </table>
26
-<?php else: ?>
26
+<?php else {
27
+    : ?>
27 28
 <p>Good job! Everything looks great! 
Please login to merge, or discard this patch.