src/Logger/ApiLogger.php
Method logRequest
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
public function logRequest(RequestInterface $request): void
{
$contentType = $this->getHeaderValue(LoggerConstants::CONTENT_TYPE_HEADER, $request->getHeaders());
$this->config->logMessage(
Method logResponse
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
public function logResponse(ResponseInterface $response): void
{
$contentLength = $this->getHeaderValue(LoggerConstants::CONTENT_LENGTH_HEADER, $response->getHeaders());
$contentType = $this->getHeaderValue(LoggerConstants::CONTENT_TYPE_HEADER, $response->getHeaders());