@@ -25,7 +25,7 @@ discard block |
||
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 |
||
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 | /** |
@@ -16,7 +16,7 @@ |
||
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> |
@@ -23,9 +23,12 @@ |
||
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! |