From 58a6d4b7d305a0ff98e8417a51b59b7d2cfa638c Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 10 Nov 2015 16:35:29 +0000 Subject: [PATCH] Add comment --- src/Composer/Util/RemoteFilesystem.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index 4fd8b6a0e..3c47654b6 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -339,6 +339,8 @@ class RemoteFilesystem // but you do not send an appropriate certificate throw new TransportException("The '" . $this->fileUrl . "' URL could not be accessed: " . $message, $messageCode); } + // intentional fallthrough to the next case as the notificationCode + // isn't always consistent and we should inspect the messageCode for 401s case STREAM_NOTIFY_AUTH_REQUIRED: if (401 === $messageCode) {