From 1c65fd2078693280f55573bacf39046ade21c333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pluchino?= Date: Fri, 20 Jan 2012 12:15:18 +0100 Subject: [PATCH] Remove the Warning, because managed in the callbackGet notification --- src/Composer/Downloader/FileDownloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Downloader/FileDownloader.php b/src/Composer/Downloader/FileDownloader.php index e55c4d09d..f74ef89dd 100644 --- a/src/Composer/Downloader/FileDownloader.php +++ b/src/Composer/Downloader/FileDownloader.php @@ -104,7 +104,7 @@ abstract class FileDownloader implements DownloaderInterface stream_context_set_params($ctx, array("notification" => array($this, 'callbackGet'))); $this->io->overwrite(" Downloading: connection...", false); - copy($url, $fileName, $ctx); + @copy($url, $fileName, $ctx); $this->io->overwrite(" Downloading"); if (!file_exists($fileName)) {