pixelfed/pixelfed

View on GitHub

Showing 1,329 of 1,562 total issues

Avoid too many return statements within this method.
Open

            return;
Severity: Major
Found in app/Console/Commands/UserRegistrationMagicLink.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return url(Storage::url($path));
    Severity: Major
    Found in app/Profile.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return $this->banInstance();
      Severity: Major
      Found in app/Console/Commands/InstanceManager.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                                return;
        Severity: Major
        Found in app/Console/Commands/CloudMediaMigrate.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return 0;
          Severity: Major
          Found in app/Console/Commands/GenerateInstanceActor.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return;
            Severity: Major
            Found in app/Console/Commands/SendUpdateActor.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return 0;
              Severity: Major
              Found in app/Console/Commands/FixStatusCount.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return Command::SUCCESS;
                Severity: Major
                Found in app/Console/Commands/SendUpdateActor.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return $query->where('id', '>', $startCache);
                  Severity: Major
                  Found in app/Console/Commands/SendUpdateActor.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return Command::SUCCESS;
                    Severity: Major
                    Found in app/Console/Commands/SendUpdateActor.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return $avatar->remote_url;
                      Severity: Major
                      Found in app/Profile.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return Command::SUCCESS;
                        Severity: Major
                        Found in app/Console/Commands/CloudMediaMigrate.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return;
                          Severity: Major
                          Found in app/Console/Commands/UserRegistrationMagicLink.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return $url;
                            Severity: Major
                            Found in app/Profile.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return '<span class="border border-info px-3 py-1 rounded text-white font-weight-bold">Awaiting User Response</span>';
                              Severity: Major
                              Found in app/Models/CuratedRegister.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                        return;
                                Severity: Major
                                Found in app/Console/Commands/CloudMediaMigrate.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return Command::SUCCESS;
                                  Severity: Major
                                  Found in app/Console/Commands/UserRegistrationMagicLink.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return url('/storage/avatars/default.jpg');
                                    Severity: Major
                                    Found in app/Profile.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return '<span class="border border-success px-3 py-1 rounded text-white font-weight-bold">Open</span>';
                                      Severity: Major
                                      Found in app/Models/CuratedRegister.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return $domain;
                                        Severity: Major
                                        Found in app/Console/Commands/DeleteUserDomainBlock.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language