aws/aws-sdk-php — pull request #437 by rbayliss (2014-12-21 03:49:27+00:00)
Title: Always add SignatureListener, even on NullCredential requests

Creating a new S3Client using NullCredentials, then setting legitimate credentials later on causes Authorization errors. This is because the SignatureListener is only added when the client is created with NullCredentials, meaning the listener cannot respond to the client.credentials_changed event. This pull request changes things so the listener is always added, and moves the check for NullCredentials into the SignatureListener plugin.