Showing 3,272 of 4,939 total issues

Avoid too many return statements within this method.
Open

            return UnionType::of($new_type_set, $old_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 $this->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 $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 [];
        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->removeNullFromVariable($var_node, $context, false);
          Severity: Major
          Found in src/Phan/Analysis/ConditionVisitorUtil.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return $probably_float_type;
            Severity: Major
            Found in src/Phan/Analysis/BinaryOperatorFlagVisitor.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;
                Severity: Major
                Found in src/Phan/Analysis/ArgumentType.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;
                    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->__invoke($left);
                      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->withSetVariable($var_name, $parent_node, $node);
                        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, $old_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 $this->analyzeAndUpdateToBeCompared($node->children['left'], $node->children['right'], flags\BINARY_IS_SMALLER_OR_EQUAL);
                            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($left);
                              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_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 $context;
                                  Severity: Major
                                  Found in src/Phan/Analysis/ConditionVisitorUtil.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

                                                        return $this->removeLiteralScalarFromVariable($var_node, $context, $expr, true);
                                        Severity: Major
                                        Found in src/Phan/Analysis/ConditionVisitorUtil.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language