@@ -210,20 +210,20 @@ discard block |
||
| 210 | 210 | protected function outputScanStats() |
| 211 | 211 | { |
| 212 | 212 | if ($this->results['infected'] > 0) { |
| 213 | - $this->output->writeln('Total infected files: ' . $this->results['infected']); |
|
| 213 | + $this->output->writeln('Total infected files: '.$this->results['infected']); |
|
| 214 | 214 | |
| 215 | 215 | if ($this->doDelete) { |
| 216 | - $this->output->writeln('Deleted files: ' . $this->results['deleted']); |
|
| 217 | - $this->output->writeln('Failed to delete: ' . $this->results['deleteErrors']); |
|
| 216 | + $this->output->writeln('Deleted files: '.$this->results['deleted']); |
|
| 217 | + $this->output->writeln('Failed to delete: '.$this->results['deleteErrors']); |
|
| 218 | 218 | } |
| 219 | 219 | } else { |
| 220 | 220 | $this->output->writeln('Nothing found!'); |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | 223 | if ($this->results['unreadable'] > 0) { |
| 224 | - $this->output->writeln('Non-readable files: ' . $this->results['unreadable']); |
|
| 224 | + $this->output->writeln('Non-readable files: '.$this->results['unreadable']); |
|
| 225 | 225 | } |
| 226 | - $this->output->writeln('Total analyzed files: ' . $this->results['analyzed']); |
|
| 226 | + $this->output->writeln('Total analyzed files: '.$this->results['analyzed']); |
|
| 227 | 227 | |
| 228 | 228 | $this->printProfilerOutput(); |
| 229 | 229 | } |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | $finder = new Finder(); |
| 258 | 258 | $finder->files()->followLinks()->in($this->dir)->name('*.php'); |
| 259 | 259 | if ($targetSize) { |
| 260 | - $finder->size('==' . $targetSize); |
|
| 260 | + $finder->size('=='.$targetSize); |
|
| 261 | 261 | } |
| 262 | 262 | |
| 263 | 263 | foreach ($finder as $file) { |
@@ -52,9 +52,9 @@ |
||
| 52 | 52 | $mins = floor($totalSecs / 60); |
| 53 | 53 | $secs = $totalSecs - ($mins * 60); |
| 54 | 54 | |
| 55 | - $this->output->write('Done in: ' . sprintf('%.3f', $totalSecs) . ' secs'); |
|
| 56 | - $this->output->writeln(" ({$mins} mins " . sprintf('%.3f', $secs) . " secs)"); |
|
| 55 | + $this->output->write('Done in: '.sprintf('%.3f', $totalSecs).' secs'); |
|
| 56 | + $this->output->writeln(" ({$mins} mins ".sprintf('%.3f', $secs)." secs)"); |
|
| 57 | 57 | |
| 58 | - $this->output->writeln('Max mem: ' . sprintf('%.3f', memory_get_peak_usage() / 1048576) . ' Mb'); |
|
| 58 | + $this->output->writeln('Max mem: '.sprintf('%.3f', memory_get_peak_usage() / 1048576).' Mb'); |
|
| 59 | 59 | } |
| 60 | 60 | } |