luyadev/luya-module-cms

View on GitHub
src/frontend/Bootstrap.php

Summary

Maintainability
A
1 hr
Test Coverage
D
60%

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

    public function bootstrap($app)
    {
        if ($app->hasModule('cms')) {
            // load cms url rules
            $app->on(Application::EVENT_BEFORE_REQUEST, function ($event) {
Severity: Minor
Found in src/frontend/Bootstrap.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status