diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index 9e6b50d74..4d7acf14e 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -327,7 +327,7 @@ class RemoteFilesystem $progression = round($bytesTransferred / $this->bytesMax * 100); } - if ((0 === $progression % 5) && $progression !== $this->lastProgress) { + if ((0 === $progression % 5) && 100 !== $progression && $progression !== $this->lastProgress) { $this->lastProgress = $progression; $this->io->overwriteError(" Downloading: $progression%", false); }