newscoop/plugin-NewscoopPaywallBundle

View on GitHub
EventListener/ConfigureMenuListener.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function onMenuConfigure(ConfigureMenuEvent $event)
    {
        $menu = $event->getMenu();
        $labelPlugins = $this->translator->trans('Plugins');
        $labelPluginName = $this->translator->trans('paywall.title');
Severity: Minor
Found in EventListener/ConfigureMenuListener.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status