Showing 3,272 of 4,939 total issues

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

                          Avoid too many return statements within this method.
                          Open

                                              return self::extractIncrementDirectionForAssignOp($code_base, $context, $var_name, $operation->children['right'], $is_subtraction);
                          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 true;
                            Severity: Major
                            Found in src/Phan/Plugin/Internal/StringFunctionPlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                  return $right;
                              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 $has_array_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;
                                  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;
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language