Showing 4,939 of 4,939 total issues

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 null;
    Severity: Major
    Found in src/Phan/Analysis/ReferenceCountsAnalyzer.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/AssignmentVisitor.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);
        Severity: Major
        Found in src/Phan/Analysis/AssignmentVisitor.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

                                    return $null_type_set ?? ($null_type_set = UnionType::typeSetFromString('null'));
            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 $this->context;
                Severity: Major
                Found in src/Phan/Analysis/AssignmentVisitor.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return $this->analyzeAndUpdateToBeCompared($node->children['left'], $node->children['right'], $flags);
                  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 $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->asNonTruthyType()];
                        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/ReferenceCountsAnalyzer.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

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

                                Avoid too many return statements within this method.
                                Open

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

                                  Avoid too many return statements within this method.
                                  Open

                                              return $this->modifyComplexExpression($first_arg, $type_modification_callback, $this->context, $args);
                                  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->analyzeAndUpdateToBeCompared($node->children['left'], $node->children['right'], flags\BINARY_IS_SMALLER);
                                    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->analyzeAndUpdateToBeCompared($node->children['left'], $node->children['right'], flags\BINARY_IS_GREATER);
                                      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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language