Showing 3,272 of 4,939 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

            return self::NOOP_SWITCH_COND_ANALYZER;
    Severity: Major
    Found in src/Phan/BlockAnalysisVisitor.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

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

        Avoid too many return statements within this method.
        Open

                return $this->canCastToNonNullableTypeHandlingTemplates($type, $code_base);
        Severity: Major
        Found in src/Phan/Language/Type.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return new Tuple5(
                      $namespace,
                      $class_name,
                      $template_parameter_type_name_list,
                      $is_nullable,
          Severity: Major
          Found in src/Phan/Language/Type.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return Suggestion::fromString(
                        'Did you mean ' . \implode(' or ', $suggestions)
                    );
            Severity: Major
            Found in src/Phan/IssueFixSuggester.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

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

                Avoid too many return statements within this method.
                Open

                                return true;
                Severity: Major
                Found in src/Phan/Language/Type.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return true;
                  Severity: Major
                  Found in src/Phan/Language/Type.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

                              return self::make(
                                  $namespace,
                                  $type_name,
                                  $template_parameter_type_list,
                                  $is_nullable,
                      Severity: Major
                      Found in src/Phan/Language/Type.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return $this->namespace === '\\' && $this->name === 'Closure';
                        Severity: Major
                        Found in src/Phan/Language/Type.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return true;
                          Severity: Major
                          Found in src/Phan/Language/Type.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                return ['$this->' . $name];
                            Severity: Major
                            Found in src/Phan/IssueFixSuggester.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return self::maybeFindParentType($is_nullable, $context, $code_base);
                              Severity: Major
                              Found in src/Phan/Language/Type.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return $this->canCastToNonNullableTypeWithoutConfig($type);
                                Severity: Major
                                Found in src/Phan/Language/Type.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                              return self::NOOP_SWITCH_COND_ANALYZER;
                                  Severity: Major
                                  Found in src/Phan/BlockAnalysisVisitor.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

                                              return self::NOOP_SWITCH_COND_ANALYZER;
                                      Severity: Major
                                      Found in src/Phan/BlockAnalysisVisitor.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

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