Showing 3,272 of 4,939 total issues

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

                          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 [$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/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/StringFunctionPlugin.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/RedundantConditionVisitor.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return [
                                                    // Gets the element types of the first
                                                    'array_pop'   => $get_element_type_of_first_arg_check_nonempty_null,
                                                    'array_shift' => $get_element_type_of_first_arg_check_nonempty_null,
                                                    'current'     => $get_element_type_of_first_arg,
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language