php-enqueue / enqueue-dev

Message Queue, Job Queue, Broadcasting, WebSockets packages for PHP, Symfony, Laravel, Magento. DEVELOPMENT REPOSITORY - provided by Forma-Pro
https://enqueue.forma-pro.com/
MIT License
2.17k stars 430 forks source link

Fix AWS SDK token parameter #1284

Closed andrewmy closed 1 year ago

andrewmy commented 1 year ago

It looks like in recent versions the AWS SDK started enforcing parameter types, breaking our CI.

InvalidArgumentException: Invalid configuration value provided for "token". Expected Aws\Token\TokenInterface|Aws\CacheInterface|array|bool|callable, but got string(0) ""

When passing false, it still breaks:

InvalidArgumentException: Token must be an instance of Aws\Token\TokenInterface, an associative array that contains "token" and an optional "expires" key-value pairs, a token provider function, or false.

So let's just skip it in tests.

andrewmy commented 1 year ago

@makasim could you please review? Thanks!

makasim commented 1 year ago

@andrewmy thanks