Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

                return $probably_real_assoc_array;
    Severity: Major
    Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return NullType::instance(false)->asRealUnionType();
      Severity: Major
      Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return ConfigPluginSet::instance()->shouldSuppressIssue(
                    $code_base,
                    $context,
                    $issue_type,
                    $lineno,
        Severity: Major
        Found in src/Phan/Issue.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                              return "Expected a list of strings: index $i is type '" . gettype($element) . "'";
          Severity: Major
          Found in src/Phan/Config.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return UnionType::fromFullyQualifiedPHPDocAndRealString('list<mixed>', '?list<mixed>');
            Severity: Major
            Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return false;
              Severity: Major
              Found in src/Phan/Plugin/Internal/PhantasmPlugin/PhantasmVisitor.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

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

                  Avoid too many return statements within this method.
                  Open

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

                    Avoid too many return statements within this method.
                    Open

                            return Issue::UnusedPublicMethodParameter;
                    Severity: Major
                    Found in src/Phan/Plugin/Internal/VariableTrackerPlugin.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return $possible_return_nodes;
                      Severity: Major
                      Found in src/Phan/Plugin/Internal/UseReturnValuePlugin/RedundantReturnVisitor.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return NullType::instance(false)->asRealUnionType();
                        Severity: Major
                        Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return;
                          Severity: Major
                          Found in src/Phan/Plugin/Internal/UseReturnValuePlugin/PureMethodInferrer.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return LiteralIntType::instanceForValue(2, false)->asRealUnionType();
                            Severity: Major
                            Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return $has_array ? $str_replace_types : $string_union_type;
                              Severity: Major
                              Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                        return StringType::instance(false)->asRealUnionType();
                                Severity: Major
                                Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return $string_union_type_with_false_in_real;
                                  Severity: Major
                                  Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return LiteralIntType::instanceForValue(count($arg->getFieldTypes()), false)->asRealUnionType();
                                    Severity: Major
                                    Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return false;
                                      Severity: Major
                                      Found in src/Phan/Plugin/Internal/IssueFixingPlugin/IssueFixer.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return $type->hasKnownFQSEN();
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/ClosureReturnTypeOverridePlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language