From 9bc578e24a32f265f01f46e389edb028a61e9a07 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 26 Jul 2018 14:15:32 +0200 Subject: [PATCH] Fix warning tag name, fixes #7494 --- src/Composer/Downloader/PathDownloader.php | 2 +- src/Composer/Downloader/ZipDownloader.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Composer/Downloader/PathDownloader.php b/src/Composer/Downloader/PathDownloader.php index 456ce4115..e7084bd97 100644 --- a/src/Composer/Downloader/PathDownloader.php +++ b/src/Composer/Downloader/PathDownloader.php @@ -150,7 +150,7 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter $this->io->writeError(" - Removing junction for " . $package->getName() . " (" . $package->getFullPrettyVersion() . ")"); } if (!$this->filesystem->removeJunction($path)) { - $this->io->writeError(" Could not remove junction at " . $path . " - is another process locking it?"); + $this->io->writeError(" Could not remove junction at " . $path . " - is another process locking it?"); throw new \RuntimeException('Could not reliably remove junction for package ' . $package->getName()); } } else { diff --git a/src/Composer/Downloader/ZipDownloader.php b/src/Composer/Downloader/ZipDownloader.php index 6217aaa53..5ca7a2dab 100644 --- a/src/Composer/Downloader/ZipDownloader.php +++ b/src/Composer/Downloader/ZipDownloader.php @@ -68,8 +68,8 @@ class ZipDownloader extends ArchiveDownloader self::$isWindows = Platform::isWindows(); if (!self::$isWindows && !self::$hasSystemUnzip) { - $this->io->writeError("As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension."); - $this->io->writeError("This may cause invalid reports of corrupted archives. Installing 'unzip' may remediate them."); + $this->io->writeError("As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension."); + $this->io->writeError("This may cause invalid reports of corrupted archives. Installing 'unzip' may remediate them."); } }