railpage/railpagecore

View on GitHub

Showing 1,011 of 9,214 total issues

Avoid too many return statements within this method.
Open

                    return true;
Severity: Major
Found in lib/PrivateMessages/PrivateMessages.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 $this->db->fetchRow($query, $id); 
      Severity: Major
      Found in lib/SiteMessage/Message.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

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                        return $this->findFromTags($args); 
            Severity: Major
            Found in lib/Locos/Maintainers/Finder.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 $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 false;
                  Severity: Major
                  Found in lib/PrivateMessages/PrivateMessages.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

                      Avoid too many return statements within this method.
                      Open

                                  return sprintf($diff > 1 ? '%s months ago' : 'last month', $diff);
                      Severity: Major
                      Found in lib/ContentUtility.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

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

                          Avoid too many return statements within this method.
                          Open

                                      return sprintf($diff > 1 ? '%s weeks ago' : 'one week ago', $diff);
                          Severity: Major
                          Found in lib/ContentUtility.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return $this->Event->meta['address'];
                            Severity: Major
                            Found in lib/Events/EventDate.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return true;
                              Severity: Major
                              Found in lib/Sightings/Sighting.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 sprintf($diff > 1 ? '%s years ago' : 'last year', $diff);
                                  Severity: Major
                                  Found in lib/ContentUtility.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return array(); 
                                    Severity: Major
                                    Found in lib/Forums/Forums.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

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