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/Images/Competition.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return false;
    Severity: Major
    Found in lib/Jobs/Job.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 $weather;
        Severity: Major
        Found in lib/Place.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return $return;
          Severity: Major
          Found in lib/Place.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 $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 $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 [
                                    "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 true;
                          Severity: Major
                          Found in lib/Ideas/Idea.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 [ 
                                                  "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 false;
                                Severity: Major
                                Found in lib/BanControl/BanControl.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 $fullArray ? $result : $result['message_text'];
                                    Severity: Major
                                    Found in lib/SiteMessage/SiteMessage.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 new Topic("other-rail");
                                        Severity: Major
                                        Found in lib/News/News.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language