antaresproject/core

View on GitHub
src/utils/testbench/src/Providers/TwigServiceProvider.php

Summary

Maintainability
A
1 hr
Test Coverage

Method registerEngine has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function registerEngine()
    {
        $this->app->bindIf('twig', function () {
            $extensions = $this->app->make('twig.extensions');
            $lexer      = $this->app->make('twig.lexer');
Severity: Minor
Found in src/utils/testbench/src/Providers/TwigServiceProvider.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status