Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

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

      Avoid too many return statements within this method.
      Open

                          return !$type->canPossiblyCastToClass($code_base, $class_type);
      Severity: Major
      Found in src/Phan/Plugin/Internal/RedundantConditionVisitor.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

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

          Avoid too many return statements within this method.
          Open

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

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                              return $this->analyze($this->scope, $node);
              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 self::_IS_REDUNDANT;
                Severity: Major
                Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

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

                    Avoid too many return statements within this method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

                                  return $union_type->floatTypes()->isEqualTo($union_type);
                      Severity: Major
                      Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return $this->analyzePropAssignmentTarget($node);
                        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 $node->kind !== \ast\AST_ECHO || !is_string($node->children['expr']);
                          Severity: Major
                          Found in src/Phan/Config/Initializer.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return $make_first_arg_checker(static function (UnionType $union_type) use ($condition): int {
                                            if (!$union_type->containsNullableOrUndefined() && $condition($union_type)) {
                                                return self::_IS_REDUNDANT;
                                            }
                                            return self::_IS_REASONABLE_CONDITION;
                            Severity: Major
                            Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

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

                                Avoid too many return statements within this method.
                                Open

                                                return $this->analyzeDimAssignmentTarget($node);
                                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 self::_IS_IMPOSSIBLE;
                                  Severity: Major
                                  Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

                                                  return $union_type->intTypes()->isEqualTo($union_type);
                                      Severity: Major
                                      Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return self::_IS_IMPOSSIBLE;
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/RedundantConditionCallPlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language