mimmi20/mezzio-navigation-laminasviewrenderer-bootstrap

View on GitHub

Showing 2 of 2 total issues

Method __invoke has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __invoke(ContainerInterface $container): Menu
    {
        assert($container instanceof ServiceLocatorInterface);

        $plugin = $container->get(ViewPluginManager::class);
Severity: Minor
Found in src/MenuFactory.php - About 1 hr to fix

    Method __invoke has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function __invoke(ContainerInterface $container): Breadcrumbs
        {
            assert($container instanceof ServiceLocatorInterface);
    
            $plugin = $container->get(ViewHelperPluginManager::class);
    Severity: Minor
    Found in src/BreadcrumbsFactory.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language