From 254453f5b5c892982c9241d8c681a672763fb95e Mon Sep 17 00:00:00 2001 From: Niels Keurentjes Date: Tue, 16 Feb 2016 14:01:21 +0100 Subject: [PATCH] Wrap final attempt to touch a cache file in Silencer. --- src/Composer/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Cache.php b/src/Composer/Cache.php index 7090a8a0d..a6044b630 100644 --- a/src/Composer/Cache.php +++ b/src/Composer/Cache.php @@ -143,7 +143,7 @@ class Cache } catch (\ErrorException $e) { // fallback in case the above failed due to incorrect ownership // see https://github.com/composer/composer/issues/4070 - touch($this->root . $file); + Silencer::call('touch', $this->root . $file); } $this->io->writeError('Reading '.$this->root . $file.' from cache', true, IOInterface::DEBUG);