Showing 3,272 of 4,939 total issues

Avoid too many return statements within this method.
Open

        return $this->scope;
Severity: Major
Found in src/Phan/Plugin/Internal/VariableTracker/VariableTrackerVisitor.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $result;
    Severity: Major
    Found in src/Phan/Library/StringSuggester.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

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

        Avoid too many return statements within this method.
        Open

                return $this->context;
        Severity: Major
        Found in src/Phan/Parse/ParseVisitor.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                    return (new ContextMergeVisitor($context, [$left_true_context, $right_true_context]))->combineChildContextList();
            Severity: Major
            Found in src/Phan/Analysis/ConditionVisitor.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return $this->removeNullFromVariable($var_node, $context, true);
              Severity: Major
              Found in src/Phan/Analysis/ConditionVisitor.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        return UnionType::of($new_type_set, $new_real_type_set ?: $asserted_object_type->getRealTypeSet());
                Severity: Major
                Found in src/Phan/Analysis/ConditionVisitor.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return $context;
                  Severity: Major
                  Found in src/Phan/Analysis/ConditionVisitor.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return $this->analyzeAndUpdateToBeEqual($node->children['left'], $node->children['right']);
                    Severity: Major
                    Found in src/Phan/Analysis/NegatedConditionVisitor.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return $context;
                      Severity: Major
                      Found in src/Phan/Analysis/NegatedConditionVisitor.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return [$type];
                        Severity: Major
                        Found in src/Phan/Analysis/NegatedConditionVisitor.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return [];
                          Severity: Major
                          Found in src/Phan/Analysis/NegatedConditionVisitor.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return $context->withScopeVariable(
                                            $variable
                                        );
                            Severity: Major
                            Found in src/Phan/Analysis/NegatedConditionVisitor.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $this->context->withScopeVariable($variable);
                              Severity: Major
                              Found in src/Phan/Analysis/AssignOperatorAnalysisVisitor.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return $this->context;
                                Severity: Major
                                Found in src/Phan/Analysis/AssignOperatorAnalysisVisitor.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                      return $code_base->getMethodByFQSEN($fqsen);
                                  Severity: Major
                                  Found in src/Phan/Analysis/ReferenceCountsAnalyzer.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

                                                      return $this->context;
                                      Severity: Major
                                      Found in src/Phan/Analysis/ConditionVisitor.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

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