EscolaLMS/Mattermost

View on GitHub
src/Providers/EventServiceProvider.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method boot has 52 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function boot(): void
    {
        if (Config::get(SettingsServiceProvider::CONFIG_KEY . '.package_status', PackageStatusEnum::ENABLED) !== PackageStatusEnum::ENABLED) {
            return;
        }
Severity: Major
Found in src/Providers/EventServiceProvider.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status