mirror of
https://github.com/composer/composer
synced 2025-05-10 09:02:59 +00:00
Merge pull request #235 from francoispluchino/master
Remove the warning of copy() in FileDownloader
This commit is contained in:
commit
294217317b
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ abstract class FileDownloader implements DownloaderInterface
|
|||
stream_context_set_params($ctx, array("notification" => array($this, 'callbackGet')));
|
||||
|
||||
$this->io->overwrite(" Downloading: <comment>connection...</comment>", false);
|
||||
copy($url, $fileName, $ctx);
|
||||
@copy($url, $fileName, $ctx);
|
||||
$this->io->overwrite(" Downloading");
|
||||
|
||||
if (!file_exists($fileName)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue