railpage/railpagecore

View on GitHub

Showing 708 of 9,214 total issues

Avoid too many return statements within this method.
Open

            return true;
Severity: Major
Found in lib/Links/Link.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return "guest";
    Severity: Major
    Found in lib/Users/User.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                              return self::GravatarHTTPS($userAvatar);
      Severity: Major
      Found in lib/Users/Utility/AvatarUtility.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return $weather;
        Severity: Major
        Found in lib/Place.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return $weather[$Date->format("Y-m-d")];
          Severity: Major
          Found in lib/Place.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return false;
            Severity: Major
            Found in lib/Downloads/Download.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return $prop;
              Severity: Major
              Found in lib/Template.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return true;
                Severity: Major
                Found in lib/BanControl/BanControl.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return $prop;
                  Severity: Major
                  Found in lib/Template.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return $prop;
                    Severity: Major
                    Found in lib/Template.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return true;
                      Severity: Major
                      Found in lib/Ideas/Idea.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return [ 
                                            "label" => "PDF",
                                            "icon" => '<i class="fa fa-file-pdf-o"></i>'
                                        ];
                        Severity: Major
                        Found in lib/Downloads/Download.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return $prop;
                          Severity: Major
                          Found in lib/Template.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return $Image;
                            Severity: Major
                            Found in lib/Images/ImageFactory.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return $prop;
                              Severity: Major
                              Found in lib/Template.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return false;
                                Severity: Major
                                Found in lib/BanControl/BanControl.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return [
                                              "label" => "Unknown",
                                              "icon" => '<i class="fa fa-file-o"></i>'
                                          ];
                                  Severity: Major
                                  Found in lib/Downloads/Download.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                            return false;
                                    Severity: Major
                                    Found in lib/PrivateMessages/PrivateMessages.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return $e;
                                      Severity: Major
                                      Found in lib/Formatting/MultimediaUtility.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return true;
                                        Severity: Major
                                        Found in lib/PrivateMessages/PrivateMessages.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language