Showing 249 of 257 total issues

Avoid too many return statements within this method.
Open

                return null;
Severity: Major
Found in app/resto/core/utils/Lexer.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                                return RestoLogUtil::httpError(404, 'Child catalog ' . $catalogId . ' not found');    
    Severity: Major
    Found in app/resto/core/addons/STACCatalog.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return $payloadObject['sub'];
      Severity: Major
      Found in app/resto/core/utils/SecurityUtil.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return true;
        Severity: Major
        Found in app/resto/core/utils/RestoGeometryUtil.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return RestoLogUtil::httpError(404);
          Severity: Major
          Found in app/resto/core/addons/STAC.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $this;
            Severity: Major
            Found in app/resto/core/addons/STAC.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return '<';
              Severity: Major
              Found in app/resto/core/utils/Lexer.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return RestoLogUtil::httpError(404);
                Severity: Major
                Found in app/resto/core/addons/STAC.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return self::T_OPEN_BLOCK;
                  Severity: Major
                  Found in app/resto/core/utils/Lexer.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                        return false;     
                    Severity: Major
                    Found in app/resto/core/RestoUser.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                                  return RestoLogUtil::httpError(404, 'Child collection ' . $resolved['id'] . ' not found');    
                      Severity: Major
                      Found in app/resto/core/addons/STACCatalog.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                                return RestoLogUtil::httpError(400, 'Link with href ' . $links[$i]['href'] . ' has an invalid type');
                        Severity: Major
                        Found in app/resto/core/addons/STACCatalog.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return '=';
                          Severity: Major
                          Found in app/resto/core/utils/Lexer.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return '>=';
                            Severity: Major
                            Found in app/resto/core/utils/Lexer.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return self::T_NE;
                              Severity: Major
                              Found in app/resto/core/utils/Lexer.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return self::T_GT;
                                Severity: Major
                                Found in app/resto/core/utils/Lexer.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return $rights[$action] && isset($featureArray['properties']['owner']) && $featureArray['properties']['owner'] === $this->profile['id'];
                                  Severity: Major
                                  Found in app/resto/core/RestoUser.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return RestoLogUtil::httpError(404);
                                    Severity: Major
                                    Found in app/resto/core/addons/STAC.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                      return '<>';
                                      Severity: Major
                                      Found in app/resto/core/utils/Lexer.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return self::T_OPEN_PARENTHESIS;
                                        Severity: Major
                                        Found in app/resto/core/utils/Lexer.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language