diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index a5e83b2c8..c10bf4d44 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -915,7 +915,7 @@ class RemoteFilesystem foreach ($caBundlePaths as $caBundle) { $caBundle = dirname($caBundle); - if (is_dir($caBundle) && glob($caBundle.'/*')) { + if (Silencer::call('is_dir', $caBundle) && glob($caBundle.'/*')) { return $caPath = $caBundle; } }