laravel/framework

View on GitHub

Showing 864 of 1,073 total issues

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

    public function morphMany($related, $name, $type = null, $id = null, $localKey = null)
Severity: Minor
Found in src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php - About 35 mins to fix

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

        protected function addDateBasedWhere($type, $column, $operator, $value, $boolean = 'and')
    Severity: Minor
    Found in src/Illuminate/Database/Query/Builder.php - About 35 mins to fix

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

          protected function newMorphOne(Builder $query, Model $parent, $type, $id, $localKey)
      Severity: Minor
      Found in src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php - About 35 mins to fix

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

            protected function newMorphMany(Builder $query, Model $parent, $type, $id, $localKey)
        Severity: Minor
        Found in src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php - About 35 mins to fix

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

              public function has($relation, $operator = '>=', $count = 1, $boolean = 'and', ?Closure $callback = null)
          Severity: Minor
          Found in src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php - About 35 mins to fix

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

                protected function morphInstanceTo($target, $name, $type, $id, $ownerKey)
            Severity: Minor
            Found in src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php - About 35 mins to fix

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

                  public function paginate($perPage = null, $columns = ['*'], $pageName = 'page', $page = null, $total = null)
              Severity: Minor
              Found in src/Illuminate/Database/Eloquent/Builder.php - About 35 mins to fix

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

                    public function orWhereHasMorph($relation, $types, ?Closure $callback = null, $operator = '>=', $count = 1)
                Severity: Minor
                Found in src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php - About 35 mins to fix

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

                      public function whereMorphRelation($relation, $types, $column, $operator = null, $value = null)
                  Severity: Minor
                  Found in src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php - About 35 mins to fix

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

                        public function whereLike($column, $value, $caseSensitive = false, $boolean = 'and', $not = false)
                    Severity: Minor
                    Found in src/Illuminate/Database/Query/Builder.php - About 35 mins to fix

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

                          public function rightJoinSub($query, $as, $first, $operator = null, $second = null)
                      Severity: Minor
                      Found in src/Illuminate/Database/Query/Builder.php - About 35 mins to fix

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

                            protected function addHasWhere(Builder $hasQuery, Relation $relation, $operator, $count, $boolean)
                        Severity: Minor
                        Found in src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php - About 35 mins to fix

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

                              public function leftJoinSub($query, $as, $first, $operator = null, $second = null)
                          Severity: Minor
                          Found in src/Illuminate/Database/Query/Builder.php - About 35 mins to fix

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

                                protected function hasNested($relations, $operator = '>=', $count = 1, $boolean = 'and', $callback = null)
                            Severity: Minor
                            Found in src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php - About 35 mins to fix

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

                                  public function joinWhere($table, $first, $operator, $second, $type = 'inner')
                              Severity: Minor
                              Found in src/Illuminate/Database/Query/Builder.php - About 35 mins to fix

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

                                    public function orderedChunkById($count, callable $callback, $column = null, $alias = null, $descending = false)
                                Severity: Minor
                                Found in src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php - About 35 mins to fix

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

                                      protected function newBelongsTo(Builder $query, Model $child, $foreignKey, $ownerKey, $relation)
                                  Severity: Minor
                                  Found in src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php - About 35 mins to fix

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

                                        public function paginate($perPage = 15, $columns = ['*'], $pageName = 'page', $page = null, $total = null)
                                    Severity: Minor
                                    Found in src/Illuminate/Database/Query/Builder.php - About 35 mins to fix

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

                                          public function newPivot(self $parent, array $attributes, $table, $exists, $using = null)
                                      Severity: Minor
                                      Found in src/Illuminate/Database/Eloquent/Model.php - About 35 mins to fix

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

                                            public function morphOne($related, $name, $type = null, $id = null, $localKey = null)
                                        Severity: Minor
                                        Found in src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language