nutgram/laravel

View on GitHub
src/NutgramServiceProvider.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method register has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function register()
    {
        $this->telegramRoutes = $this->app->basePath('routes/telegram.php');

        $this->mergeConfigFrom(self::CONFIG_PATH, 'nutgram');
Severity: Minor
Found in src/NutgramServiceProvider.php - About 1 hr to fix

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

        public function boot(): void
        {
            $this->loadViewsFrom(__DIR__.'/../resources/views/logging', 'logging');
    
            if ($this->app->runningInConsole()) {
    Severity: Minor
    Found in src/NutgramServiceProvider.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status