@@ -78,6 +78,6 @@ |
||
78 | 78 | |
79 | 79 | $dom->save($this->outputPath); |
80 | 80 | |
81 | - $output->writeln('XML generated at '.$this->outputPath); |
|
81 | + $output->writeln('XML generated at ' . $this->outputPath); |
|
82 | 82 | } |
83 | 83 | } |
@@ -21,9 +21,9 @@ |
||
21 | 21 | $content = str_replace(array("\r\n", "\r"), "\n", $content); |
22 | 22 | $lines = explode("\n", $content); |
23 | 23 | |
24 | - $lineContent = array_slice($lines, $line-1, 1); |
|
24 | + $lineContent = array_slice($lines, $line - 1, 1); |
|
25 | 25 | $lineContent = reset($lineContent); |
26 | - $start = strpos($lineContent, $text.''); |
|
26 | + $start = strpos($lineContent, $text . ''); |
|
27 | 27 | |
28 | 28 | return [ |
29 | 29 | 'snippet' => $lineContent, |
@@ -52,6 +52,6 @@ |
||
52 | 52 | $dom->save($this->outputPath); |
53 | 53 | |
54 | 54 | $output->writeln('Total of Magic Numbers ' . $total); |
55 | - $output->writeln('checkstyle XML generated at '. $this->outputPath); |
|
55 | + $output->writeln('checkstyle XML generated at ' . $this->outputPath); |
|
56 | 56 | } |
57 | 57 | } |