Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

                return self::literalStringUnionType(\ltrim($this->context->getClassFQSEN()->__toString(), '\\'));
Severity: Major
Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $resulting_element_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 NullType::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 $this->methodFQSENListFromParts($node[0], $node[1]);
        Severity: Major
        Found in src/Phan/AST/UnionTypeVisitor.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                      return (string)$name_node_type->asSingleScalarValueOrNull();
          Severity: Major
          Found in src/Phan/AST/ContextNode.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return $this->returnStubOrThrowUndeclaredFunctionIssueException(
                            $function_fqsen,
                            $not_fully_qualified,
                            $not_fully_qualified ? FullyQualifiedFunctionName::make($namespace, $function_name) : $function_fqsen,
                            $return_placeholder_for_undefined
            Severity: Major
            Found in src/Phan/AST/ContextNode.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return array_keys(iterator_to_array($iterator));
              Severity: Major
              Found in internal/lib/IncompatibleRealStubsSignatureDetector.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

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

                  Avoid too many return statements within this method.
                  Open

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

                    Avoid too many return statements within this method.
                    Open

                                        return $this->getValueForCall($node, $flags);
                    Severity: Major
                    Found in src/Phan/AST/ContextNode.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

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

                          Avoid too many return statements within this method.
                          Open

                                              return $this->getValueForBinaryOp($node, $flags);
                          Severity: Major
                          Found in src/Phan/AST/ContextNode.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                      return true;
                              Severity: Major
                              Found in internal/PHP_CodeSniffer/Sniffs/ValidUnderscoreVariableNameSniff.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return [$union_type, $class_list];
                                Severity: Major
                                Found in src/Phan/AST/ContextNode.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                      return $code_base->getFunctionByFQSEN($function_fqsen);
                                  Severity: Major
                                  Found in src/Phan/AST/ContextNode.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return $this->getValueForIssetCheck($node, $flags);
                                    Severity: Major
                                    Found in src/Phan/AST/ContextNode.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

                                                return $raw_function_name($arg_value);
                                        Severity: Major
                                        Found in src/Phan/AST/ContextNode.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language