Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

                return $int_or_string_type;
Severity: Major
Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return UnionType::empty();
    Severity: Major
    Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return $expr_type;
      Severity: Major
      Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return;
        Severity: Major
        Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                  return null;
          Severity: Major
          Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return UnionType::empty();
            Severity: Major
            Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return ArrayType::instance(false)->asRealUnionType();
              Severity: Major
              Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return FullyQualifiedClassName::fromFullyQualifiedString($class_name);
                Severity: Major
                Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                          return [];
                  Severity: Major
                  Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return [];
                    Severity: Major
                    Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return MixedType::instance(false)->asRealUnionType();
                      Severity: Major
                      Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return $expr_type->withRealType(ObjectType::instance(false));
                        Severity: Major
                        Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return ObjectType::instance(false)->asRealUnionType();
                          Severity: Major
                          Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return [];
                            Severity: Major
                            Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return self::literalStringUnionType('');
                              Severity: Major
                              Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return VoidType::instance(false)->asRealUnionType();
                                Severity: Major
                                Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return UnionType::of($type_set, $real_type_set);
                                  Severity: Major
                                  Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                            return $element_types;
                                    Severity: Major
                                    Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return $class->getMethodByName($this->code_base, '__get')->getUnionType();
                                      Severity: Major
                                      Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return $node->hash ?? ($node->hash = self::computeHash($node));
                                        Severity: Major
                                        Found in src/Phan/AST/ASTHasher.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language