UniSharp/laravel-filemanager

View on GitHub
src/Lfm.php

Summary

Maintainability
C
1 day
Test Coverage

Lfm has 27 functions (exceeds 20 allowed). Consider refactoring.
Open

class Lfm
{
    const PACKAGE_NAME = 'laravel-filemanager';
    const DS = '/';

Severity: Minor
Found in src/Lfm.php - About 3 hrs to fix

    Method routes has 74 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static function routes()
        {
            $middleware = [ CreateDefaultFolder::class, MultiUser::class ];
            $as = 'unisharp.lfm.';
            $namespace = '\\UniSharp\\LaravelFilemanager\\Controllers\\';
    Severity: Major
    Found in src/Lfm.php - About 2 hrs to fix

      File Lfm.php has 257 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      <?php
      
      namespace UniSharp\LaravelFilemanager;
      
      use Illuminate\Contracts\Config\Repository as Config;
      Severity: Minor
      Found in src/Lfm.php - About 2 hrs to fix

        There are no issues that match your filters.

        Category
        Status