laravel/framework

View on GitHub

Showing 864 of 1,073 total issues

SqlServerGrammar has 74 functions (exceeds 20 allowed). Consider refactoring.
Open

class SqlServerGrammar extends Grammar
{
    /**
     * If this Grammar supports schema changes wrapped in a transaction.
     *
Severity: Major
Found in src/Illuminate/Database/Schema/Grammars/SqlServerGrammar.php - About 1 day to fix

    File MySqlGrammar.php has 620 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 606 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

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

        File PostgresGrammar.php has 570 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 566 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

            File Handler.php has 543 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 537 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

                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 EnumeratesValues.php has 516 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

                    Store has 58 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 SQLiteGrammar.php has 508 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/SQLiteGrammar.php - About 1 day to fix

                        ArtisanServiceProvider has 57 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 503 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: Major
                          Found in src/Illuminate/Foundation/helpers.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

                                FilesystemAdapter has 55 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 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 FilesystemAdapter.php has 488 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

                                      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 480 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language