Showing 4 of 4 total issues
Function getRetryDecider
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
private static function getRetryDecider() { return function ( $retries, Request $request,
- Read upRead up
Avoid using static access to class '\GuzzleHttp\Middleware' in method 'sendAsync'. Open
$handler->push(Middleware::retry(self::getRetryDecider()));
- Read upRead up
- Exclude checks
Avoid using static access to class '\GuzzleHttp\HandlerStack' in method 'sendAsync'. Open
$handler = HandlerStack::create($curl);
- Read upRead up
- Exclude checks