From dde9c309fd6885f8d3f59ec01a5c4e62337637b9 Mon Sep 17 00:00:00 2001 From: mwhittom Date: Wed, 27 Nov 2013 10:27:16 -0600 Subject: [PATCH] incorporated change to Perforce: Capture output, stopping errors showing up if p4 is not available --- src/Composer/Util/Perforce.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Util/Perforce.php b/src/Composer/Util/Perforce.php index 3781117bf..47558557b 100644 --- a/src/Composer/Util/Perforce.php +++ b/src/Composer/Util/Perforce.php @@ -385,7 +385,7 @@ class Perforce public static function checkServerExists($url, ProcessExecutor $processExecutor) { $output = null; - return 0 === $processExecutor->execute('p4 -p ' . $url . ' info -s', $output); + return 0 === $processExecutor->execute('p4 -p ' . $url . ' info -s', $output); } public function getComposerInformation($identifier)