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 false;
    Severity: Major
    Found in src/Phan/Plugin/Internal/MiscParamPlugin.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/MiscParamPlugin.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

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

          Avoid too many return statements within this method.
          Open

                                  return $result ?: [$class::fromElementType(MixedType::instance(false), $type->isNullable(), $type->getKeyType())];
          Severity: Major
          Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                              return $left_flags + $right_flags;
              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 \is_string($name) && \strcasecmp($name, $const_name) === 0;
                Severity: Major
                Found in src/Phan/Plugin/Internal/UseReturnValuePlugin/UseReturnValueVisitor.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return $nullable_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 $json_decode_object_types;
                    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 $real_int_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;
                        Severity: Major
                        Found in src/Phan/Plugin/Internal/ClosureReturnTypeOverridePlugin.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return $int_or_string;
                          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 $mixed_type->asPHPDocUnionType();
                            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 UnionType::fromFullyQualifiedPHPDocAndRealString('list', 'array|false');
                              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 Issue::fromType(Issue::ParamTypeMismatch)(
                                                            $context->getFile(),
                                                            $context->getLineNumberStart(),
                                                            [
                                                            ($i + 1),
                                Severity: Major
                                Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

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

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

                                              return [
                                                  'array_udiff' => $array_udiff_callback,
                                                  'array_diff_uassoc' => $array_udiff_callback,
                                                  'array_uintersect_assoc' => $array_udiff_callback,
                                                  'array_intersect_ukey' => $array_udiff_callback,
                                      Severity: Major
                                      Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                        return self::extractIncrementDirectionForAssignOp($code_base, $context, $var_name, $cond_node->children['expr'], $is_subtraction);
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/RedundantConditionLoopCheck.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language