AliHichem/AliDatatableBundle

View on GitHub
EventListener/DatatableListener.php

Summary

Maintainability
A
1 hr
Test Coverage

Method _injectDatatableScript has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function _injectDatatableScript(Response $response, Request $request)
    {
        $content  = $response->getContent();
        $pos_body = strripos($content, '</body>');
        if (!$pos_body)
Severity: Minor
Found in EventListener/DatatableListener.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status