Showing 4,939 of 4,939 total issues

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 $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 $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 true;
        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 .phan/plugins/HasPHPDocPlugin.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 UnionTypeVisitor::unionTypeFromNode($this->code_base, $this->context, $node, false)->asSingleScalarValueOrNull() ?? $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 false;
                Severity: Major
                Found in .phan/plugins/MoreSpecificElementTypePlugin.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return;
                  Severity: Major
                  Found in internal/lib/NotFullyQualifiedReporterPlugin.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return false;
                    Severity: Major
                    Found in .phan/plugins/MoreSpecificElementTypePlugin.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/IncompatibleStubsSignatureDetector.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                    return;
                        Severity: Major
                        Found in .phan/plugins/RedundantAssignmentPlugin.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return;
                          Severity: Major
                          Found in .phan/plugins/RedundantAssignmentPlugin.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return null;
                            Severity: Major
                            Found in .phan/plugins/PreferNamespaceUsePlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return;
                              Severity: Major
                              Found in .phan/plugins/MoreSpecificElementTypePlugin.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return null;
                                Severity: Major
                                Found in .phan/plugins/HasPHPDocPlugin.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return new PrimitiveValue($first_str);
                                  Severity: Major
                                  Found in .phan/plugins/PrintfCheckerPlugin.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return $method->createClosureForUnionTypeExtractorAndAssertionType(
                                                        /**
                                                         * @param list<Node|string|int|float> $args
                                                         */
                                                        function (CodeBase $code_base, Context $context, array $args): UnionType {
                                    Severity: Major
                                    Found in .phan/plugins/PHPUnitAssertionPlugin.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 false;
                                        Severity: Major
                                        Found in .phan/plugins/MoreSpecificElementTypePlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language