laravel/framework

View on GitHub

Showing 864 of 1,073 total issues

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function __construct(Builder $query, Model $parent, $type, $id, $localKey)
Severity: Minor
Found in src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php - About 35 mins to fix

    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function __construct(Builder $query, Model $child, $foreignKey, $ownerKey, $relationName)
    Severity: Minor
    Found in src/Illuminate/Database/Eloquent/Relations/BelongsTo.php - About 35 mins to fix

      Method createConnection has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          protected function createConnection($driver, $connection, $database, $prefix = '', array $config = [])
      Severity: Minor
      Found in src/Illuminate/Database/Connectors/ConnectionFactory.php - About 35 mins to fix

        Method handlePromiseResponse has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            protected function handlePromiseResponse(Response|ConnectionException|TransferException $response, $method, $url, $options, $attempt)
        Severity: Minor
        Found in src/Illuminate/Http/Client/PendingRequest.php - About 35 mins to fix

          Method view has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public function view($uri, $view, $data = [], $status = 200, array $headers = [])
          Severity: Minor
          Found in src/Illuminate/Routing/Router.php - About 35 mins to fix

            Method jsonp has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public function jsonp($callback, $data = [], $status = 200, array $headers = [], $options = 0)
            Severity: Minor
            Found in src/Illuminate/Routing/ResponseFactory.php - About 35 mins to fix

              Method tryAgainIfCausedByLostConnection has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  protected function tryAgainIfCausedByLostConnection(Throwable $e, $dsn, $username, $password, $options)
              Severity: Minor
              Found in src/Illuminate/Database/Connectors/Connector.php - About 35 mins to fix

                Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    public function __construct($data = null, $status = 200, $headers = [], $options = 0, $json = false)
                Severity: Minor
                Found in src/Illuminate/Http/JsonResponse.php - About 35 mins to fix

                  Method jsonp has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public function jsonp($callback, $data = [], $status = 200, array $headers = [], $options = 0);
                  Severity: Minor
                  Found in src/Illuminate/Contracts/Routing/ResponseFactory.php - About 35 mins to fix

                    Method addContent has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        protected function addContent($message, $view, $plain, $raw, $data)
                    Severity: Minor
                    Found in src/Illuminate/Mail/Mailer.php - About 35 mins to fix

                      Method temporarySignedRoute has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public function temporarySignedRoute($route, $expiration, $parameters = [], $status = 302, $headers = [])
                      Severity: Minor
                      Found in src/Illuminate/Routing/Redirector.php - About 35 mins to fix

                        Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                                UserProvider $provider,
                                Request $request,
                                $inputKey = 'api_token',
                                $storageKey = 'api_token',
                                $hash = false)
                        Severity: Minor
                        Found in src/Illuminate/Auth/TokenGuard.php - About 35 mins to fix

                          Method signedRoute has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public function signedRoute($route, $parameters = [], $expiration = null, $status = 302, $headers = [])
                          Severity: Minor
                          Found in src/Illuminate/Routing/Redirector.php - About 35 mins to fix

                            Method handle has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public function handle($request, Closure $next, $maxAttempts = 60, $decayMinutes = 1, $prefix = '')
                            Severity: Minor
                            Found in src/Illuminate/Routing/Middleware/ThrottleRequests.php - About 35 mins to fix

                              Method listEvent has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  private function listEvent($event, $terminalWidth, $expressionSpacing, $repeatExpressionSpacing, $timezone)
                              Severity: Minor
                              Found in src/Illuminate/Console/Scheduling/ScheduleListCommand.php - About 35 mins to fix

                                Method getPromptValidatorInstance has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    protected function getPromptValidatorInstance($field, $value, $rules, array $messages = [], array $attributes = [])
                                Severity: Minor
                                Found in src/Illuminate/Console/Concerns/ConfiguresPrompts.php - About 35 mins to fix

                                  Method render has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      public function render($question, $choices, $default = null, $attempts = null, $multiple = false)
                                  Severity: Minor
                                  Found in src/Illuminate/Console/View/Components/Choice.php - About 35 mins to fix

                                    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        public function __construct($storeName, $key, $value, $seconds = null, $tags = [])
                                    Severity: Minor
                                    Found in src/Illuminate/Cache/Events/WritingKey.php - About 35 mins to fix

                                      Method choice has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          public function choice($question, array $choices, $default = null, $attempts = null, $multiple = false)
                                      Severity: Minor
                                      Found in src/Illuminate/Console/Concerns/InteractsWithIO.php - About 35 mins to fix

                                        Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            public function __construct($storeName, $keys, $values, $seconds = null, $tags = [])
                                        Severity: Minor
                                        Found in src/Illuminate/Cache/Events/WritingManyKeys.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language