src/Fetcher/GuzzleFetcher.php
Method httpRequest
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function httpRequest(string $method, string $uri, array $headers = [], array $body = []): EsiResponse
{
// Add some debug logging and start measuring how long the request took.
$this->logger->debug('Making '.$method.' request to '.$uri);
$start = microtime(true);
Method logFetcherActivity
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function logFetcherActivity(string $level, ResponseInterface $response, string $method, string $uri, float|string $start): void