Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

                return self::extractIncrementDirectionForAssignOp($code_base, $context, $var_name, $operation->children['left'], $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;
    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/RedundantConditionVisitor.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 false;
            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 $false_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 $value_type->asListTypes();
                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 new UnionType(
                                      [$array_shape_type, $false_type],
                                      true,
                                      [
                                          ArrayShapeType::fromFieldTypes([
                  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 $value_type->asGenericArrayTypes($key_type_enum);
                    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 0;
                      Severity: Major
                      Found in src/Phan/Plugin/Internal/MethodSearcherPlugin.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 Issue::fromType(Issue::ParamSpecial3)(
                                                    $context->getFile(),
                                                    $context->getLineNumberStart(),
                                                    [
                                                    $function->getRepresentationForIssue(),
                            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 Issue::fromType(Issue::ParamSpecial3)(
                                                        $context->getFile(),
                                                        $context->getLineNumberStart(),
                                                        [
                                                        $function->getRepresentationForIssue(),
                                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;
                                      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