Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

KamiYang
Copy link
Member

No description provided.

Resources/Public/JavaScript/Templates.js Show resolved Hide resolved
Resources/Public/JavaScript/Templates.js Show resolved Hide resolved
Classes/Modules/Fluid/Templates.php Show resolved Hide resolved
}
}

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

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

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.

@codeclimate
Copy link

codeclimate bot commented Jun 27, 2019

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