laravel/framework

View on GitHub

Showing 829 of 1,026 total issues

SQLiteGrammar has 72 functions (exceeds 20 allowed). Consider refactoring.
Open

class SQLiteGrammar extends Grammar
{
    /**
     * The possible column modifiers.
     *
Severity: Major
Found in src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php - About 1 day to fix

    File MySqlGrammar.php has 607 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    namespace Illuminate\Database\Schema\Grammars;
    
    use Illuminate\Database\Connection;
    Severity: Major
    Found in src/Illuminate/Database/Schema/Grammars/MySqlGrammar.php - About 1 day to fix

      File Route.php has 597 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      <?php
      
      namespace Illuminate\Routing;
      
      use Closure;
      Severity: Major
      Found in src/Illuminate/Routing/Route.php - About 1 day to fix

        File PostgresGrammar.php has 557 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        <?php
        
        namespace Illuminate\Database\Schema\Grammars;
        
        use Illuminate\Database\Connection;
        Severity: Major
        Found in src/Illuminate/Database/Schema/Grammars/PostgresGrammar.php - About 1 day to fix

          File ArtisanServiceProvider.php has 556 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          <?php
          
          namespace Illuminate\Foundation\Providers;
          
          use Illuminate\Auth\Console\ClearResetsCommand;
          Severity: Major
          Found in src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php - About 1 day to fix

            Event has 60 functions (exceeds 20 allowed). Consider refactoring.
            Open

            class Event
            {
                use Macroable, ManagesFrequencies, ReflectsClosures, Tappable;
            
                /**
            Severity: Major
            Found in src/Illuminate/Console/Scheduling/Event.php - About 1 day to fix

              File Handler.php has 526 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              <?php
              
              namespace Illuminate\Foundation\Exceptions;
              
              use Closure;
              Severity: Major
              Found in src/Illuminate/Foundation/Exceptions/Handler.php - About 1 day to fix

                File Stringable.php has 525 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                <?php
                
                namespace Illuminate\Support;
                
                use ArrayAccess;
                Severity: Major
                Found in src/Illuminate/Support/Stringable.php - About 1 day to fix

                  Store has 57 functions (exceeds 20 allowed). Consider refactoring.
                  Open

                  class Store implements Session
                  {
                      use Macroable;
                  
                      /**
                  Severity: Major
                  Found in src/Illuminate/Session/Store.php - About 1 day to fix

                    File EnumeratesValues.php has 505 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    <?php
                    
                    namespace Illuminate\Support\Traits;
                    
                    use BackedEnum;
                    Severity: Major
                    Found in src/Illuminate/Collections/Traits/EnumeratesValues.php - About 1 day to fix

                      AbstractPaginator has 56 functions (exceeds 20 allowed). Consider refactoring.
                      Open

                      abstract class AbstractPaginator implements Htmlable, Stringable
                      {
                          use ForwardsCalls, Tappable;
                      
                          /**
                      Severity: Major
                      Found in src/Illuminate/Pagination/AbstractPaginator.php - About 1 day to fix

                        Request has 56 functions (exceeds 20 allowed). Consider refactoring.
                        Open

                        class Request extends SymfonyRequest implements Arrayable, ArrayAccess
                        {
                            use Concerns\CanBePrecognitive,
                                Concerns\InteractsWithContentTypes,
                                Concerns\InteractsWithFlashData,
                        Severity: Major
                        Found in src/Illuminate/Http/Request.php - About 1 day to fix

                          File SQLiteGrammar.php has 500 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          <?php
                          
                          namespace Illuminate\Database\Schema\Grammars;
                          
                          use Illuminate\Database\Connection;
                          Severity: Minor
                          Found in src/Illuminate/Database/Schema/Grammars/SQLiteGrammar.php - About 1 day to fix

                            ArtisanServiceProvider has 56 functions (exceeds 20 allowed). Consider refactoring.
                            Open

                            class ArtisanServiceProvider extends ServiceProvider implements DeferrableProvider
                            {
                                /**
                                 * The commands to be registered.
                                 *
                            Severity: Major
                            Found in src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php - About 1 day to fix

                              File helpers.php has 496 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              <?php
                              
                              use Illuminate\Container\Container;
                              use Illuminate\Contracts\Auth\Access\Gate;
                              use Illuminate\Contracts\Auth\Factory as AuthFactory;
                              Severity: Minor
                              Found in src/Illuminate/Foundation/helpers.php - About 7 hrs to fix

                                File BladeCompiler.php has 493 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                <?php
                                
                                namespace Illuminate\View\Compilers;
                                
                                use Illuminate\Container\Container;
                                Severity: Minor
                                Found in src/Illuminate/View/Compilers/BladeCompiler.php - About 7 hrs to fix

                                  File ComponentTagCompiler.php has 487 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  <?php
                                  
                                  namespace Illuminate\View\Compilers;
                                  
                                  use Illuminate\Container\Container;
                                  Severity: Minor
                                  Found in src/Illuminate/View/Compilers/ComponentTagCompiler.php - About 7 hrs to fix

                                    File SqlServerGrammar.php has 481 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    <?php
                                    
                                    namespace Illuminate\Database\Schema\Grammars;
                                    
                                    use Illuminate\Database\Connection;
                                    Severity: Minor
                                    Found in src/Illuminate/Database/Schema/Grammars/SqlServerGrammar.php - About 7 hrs to fix

                                      FilesystemAdapter has 53 functions (exceeds 20 allowed). Consider refactoring.
                                      Open

                                      class FilesystemAdapter implements CloudFilesystemContract
                                      {
                                          use Conditionable;
                                          use Macroable {
                                              __call as macroCall;
                                      Severity: Major
                                      Found in src/Illuminate/Filesystem/FilesystemAdapter.php - About 7 hrs to fix

                                        File FilesystemAdapter.php has 476 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        <?php
                                        
                                        namespace Illuminate\Filesystem;
                                        
                                        use Closure;
                                        Severity: Minor
                                        Found in src/Illuminate/Filesystem/FilesystemAdapter.php - About 7 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language