Lint fix
parent
060bc58505
commit
9a47224c09
|
@ -197,7 +197,7 @@ class Index extends Command
|
|||
$endTime = microtime(true);
|
||||
$execTime = (int) (($endTime - $startTime) * 1000) / 1000;
|
||||
$nTotal = $this->nInvalid + $this->nSkipped + $this->nProcessed;
|
||||
$this->output->writeln("==========================================");
|
||||
$this->output->writeln('==========================================');
|
||||
$this->output->writeln("Checked {$nTotal} files in {$execTime} sec");
|
||||
$this->output->writeln($this->nInvalid.' not valid media items');
|
||||
$this->output->writeln($this->nSkipped.' skipped because unmodified');
|
||||
|
@ -265,8 +265,9 @@ class Index extends Command
|
|||
|
||||
// Respect the '.nomedia' file. If present don't traverse the folder
|
||||
if ($folder->nodeExists('.nomedia')) {
|
||||
$this->output->writeln('Skipping folder '.$folderPath." because of .nomedia file");
|
||||
$this->output->writeln('Skipping folder '.$folderPath.' because of .nomedia file');
|
||||
$this->previousLineLength = 0;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -276,7 +277,7 @@ class Index extends Command
|
|||
$this->output->write("\r".str_repeat(' ', $this->previousLineLength)."\r");
|
||||
}
|
||||
$this->output->write($line."\r");
|
||||
$this->previousLineLength = strlen($line);
|
||||
$this->previousLineLength = \strlen($line);
|
||||
|
||||
$nodes = $folder->getDirectoryListing();
|
||||
|
||||
|
|
Loading…
Reference in New Issue