Showing 3,272 of 4,939 total issues

Avoid too many return statements within this method.
Open

        return null;
Severity: Major
Found in src/Phan/CodeBase.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $variable_description;
    Severity: Major
    Found in src/Phan/LanguageServer/GoToDefinitionRequest.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return '';
      Severity: Major
      Found in src/Phan/CLI.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return $generate_suggestion_text($similarity_values[0][2]);
        Severity: Major
        Found in src/Phan/CLI.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return null;
          Severity: Major
          Found in src/Phan/Daemon/Request.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return $generate_suggestion_text($similarity_values[0][2], $similarity_values[1][2]);
            Severity: Major
            Found in src/Phan/CLI.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return get_class($value) . '(' . $value . ')';
              Severity: Major
              Found in src/Phan/Debug/Frame.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return \trim(\ob_get_clean() ?: 'resource');
                Severity: Major
                Found in src/Phan/Debug/Frame.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return $request_obj;
                  Severity: Major
                  Found in src/Phan/Daemon/Request.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return null;
                    Severity: Major
                    Found in src/Phan/LanguageServer/CompletionRequest.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return $generate_suggestion_text($alternate);
                      Severity: Major
                      Found in src/Phan/CLI.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return CompletionItemKind::METHOD;
                        Severity: Major
                        Found in src/Phan/LanguageServer/CompletionRequest.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return $stat ? 0020000 === ($stat['mode'] & 0170000) : false;
                          Severity: Major
                          Found in src/Phan/CLI.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return StringUtil::jsonEncode($value);
                            Severity: Major
                            Found in src/Phan/Debug/Frame.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                      return false;
                              Severity: Major
                              Found in src/Phan/CLI.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return 'None';
                                Severity: Major
                                Found in src/Phan/Debug/Frame.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                              return CompletionItemKind::PROPERTY;
                                  Severity: Major
                                  Found in src/Phan/LanguageServer/CompletionRequest.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                            return false;
                                    Severity: Major
                                    Found in src/Phan/CLI.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return \posix_isatty($output);
                                      Severity: Major
                                      Found in src/Phan/CLI.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                                return false;
                                        Severity: Major
                                        Found in src/Phan/CLI.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language