ernestwisniewski/kbin

View on GitHub
src/Twig/Extension/UrlExtension.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function getFunctions(): array
    {
        return [
            new TwigFunction('entry_url', [UrlExtensionRuntime::class, 'entryUrl']),
            new TwigFunction('entry_edit_url', [UrlExtensionRuntime::class, 'entryEditUrl']),
Severity: Minor
Found in src/Twig/Extension/UrlExtension.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status