Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

                        return self::parseGenericIterableTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable);
Severity: Major
Found in src/Phan/Language/Type.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                            return self::parseListTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, true);
    Severity: Major
    Found in src/Phan/Language/Type.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return CallableStringType::instance($is_nullable);
      Severity: Major
      Found in src/Phan/Language/Type.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return NonEmptyMixedType::instance($is_nullable);
        Severity: Major
        Found in src/Phan/Language/Type.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return NonEmptyListType::fromElementType(MixedType::instance(false), $is_nullable);
          Severity: Major
          Found in src/Phan/Language/Type.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return ArrayType::instance($is_nullable);
            Severity: Major
            Found in src/Phan/Language/Type.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return self::fromFunctionLikeInContext($type_name === 'Closure', $shape_components, $context, $source, $is_nullable);
              Severity: Major
              Found in src/Phan/Language/Type.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                        return self::parseGenericArrayTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, true, true);
                Severity: Major
                Found in src/Phan/Language/Type.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return true;
                  Severity: Major
                  Found in src/Phan/Language/UnionType.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return false;
                    Severity: Major
                    Found in src/Phan/Language/UnionType.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                              return (string)$reflection_type;
                      Severity: Major
                      Found in src/Phan/Language/Type.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return self::make(
                                    $namespace,
                                    $type_name,
                                    $template_parameter_type_list,
                                    $is_nullable,
                        Severity: Major
                        Found in src/Phan/Language/Type.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return GenericArrayType::fromElementType(
                                          Type::fromStringInContext($non_generic_partially_qualified_array_type_name, $context, $source),
                                          $is_nullable,
                                          GenericArrayType::KEY_MIXED
                                      );
                          Severity: Major
                          Found in src/Phan/Language/Type.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                    return self::parseGenericArrayTypeFromTemplateParameterList($template_parameter_type_list, $is_nullable, true, false);
                            Severity: Major
                            Found in src/Phan/Language/Type.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return $result;
                              Severity: Major
                              Found in src/Phan/Language/UnionType.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return false;
                                Severity: Major
                                Found in src/Phan/Language/UnionType.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return true;
                                  Severity: Major
                                  Found in src/Phan/Language/UnionType.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return ArrayType::instance(false);
                                    Severity: Major
                                    Found in src/Phan/Language/Type.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return self::fromInternalTypeName(\substr($type_name, 1), true, $source, $template_parameter_type_list);
                                      Severity: Major
                                      Found in src/Phan/Language/Type.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return self::fromInternalTypeName(
                                                        $fully_qualified_string,
                                                        $is_nullable,
                                                        Type::FROM_NODE,
                                                        $template_parameter_type_list
                                        Severity: Major
                                        Found in src/Phan/Language/Type.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language