Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

                    return ($type->isValidNumericOperand() && $type->isValidBitwiseOperand()) || $type instanceof StringType;
Severity: Major
Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $this->context->getClassFQSEN()->asType()->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(\ltrim($this->context->getNamespace(), '\\'));
        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 FalseType::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 StringType::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 $generic_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 $result->applyUnaryPlusOperator();
                  Severity: Major
                  Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return $result;
                    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 StringType::instance(false)->asPHPDocUnionType();
                        Severity: Major
                        Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return StaticType::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 $true_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 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 $closure_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 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 $false_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 $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 [$method->getFQSEN()];
                                        Severity: Major
                                        Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language