Skip to content

[FEATURE] Display templates that have been rendered due this request#25

Draft
KamiYang wants to merge 10 commits intodevelopfrom
fluid-templates
Draft

[FEATURE] Display templates that have been rendered due this request#25
KamiYang wants to merge 10 commits intodevelopfrom
fluid-templates

Conversation

@KamiYang
Copy link
Copy Markdown
Member

No description provided.

}
}

return new JsonResponse($templateData, $statusCode);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returning type \TYPO3\CMS\Core\Http\JsonResponse but getData() is declared to return \Psr\Http\Message\ResponseInterface

{
use LoggerAwareTrait;

public function getData(ServerRequestInterface $request): JsonResponse
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function getData has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.

@qlty-cloud-legacy
Copy link
Copy Markdown

Code Climate has analyzed commit 3e58ff6 and detected 6 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 2
Duplication 2
Bug Risk 2

The test coverage on the diff in this pull request is 81.2% (50% is the threshold).

This pull request will bring the total coverage in the repository to 94.3% (-5.7% change).

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant