1
0
Fork 0

Fix invalid calculation on non-numeric string

pull/6127/head
Pieter Frenssen 2017-01-26 17:07:36 +02:00 committed by Jordi Boggiano
parent 15ff7b96d2
commit 9020b7113c
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ class GitDownloader extends VcsDownloader implements DvcsDownloaderInterface
$this->io->writeError(' <error>The package has modified files:</error>'); $this->io->writeError(' <error>The package has modified files:</error>');
$this->io->writeError(array_slice($changes, 0, 10)); $this->io->writeError(array_slice($changes, 0, 10));
if (count($changes) > 10) { if (count($changes) > 10) {
$this->io->writeError(' <info>'.count($changes) - 10 . ' more files modified, choose "v" to view the full list</info>'); $this->io->writeError(' <info>' . (count($changes) - 10) . ' more files modified, choose "v" to view the full list</info>');
} }
while (true) { while (true) {