From 94947ee772948de260cb6638ecfd60f5bf173f2c Mon Sep 17 00:00:00 2001 From: Rob Bast Date: Wed, 20 Jan 2016 21:29:55 +0100 Subject: [PATCH] merge isset() calls --- src/Composer/Util/RemoteFilesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index afb8820a9..5f2d0bfa5 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -627,7 +627,7 @@ class RemoteFilesystem * Attempt to find a local cafile or throw an exception if none pre-set * The user may go download one if this occurs. */ - if (!isset($options['ssl']['cafile']) && !isset($options['ssl']['capath'])) { + if (!isset($options['ssl']['cafile'], $options['ssl']['capath'])) { $result = $this->getSystemCaRootBundlePath(); if ($result) { if (preg_match('{^phar://}', $result)) {