Showing 3,272 of 4,939 total issues

Avoid too many return statements within this method.
Open

        return new ClassElementEntry($method, \trim(\preg_replace('/\s+/', ' ', $description)));
Severity: Major
Found in .phan/plugins/HasPHPDocPlugin.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return $name_end;
    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/FFIAnalysisPlugin.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/PrintfCheckerPlugin.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 $this->returnStubOrThrowUndeclaredFunctionIssueException($function_fqsen, false, null, $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 false;
                  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 $child_context;
                      Severity: Major
                      Found in src/Phan/Analysis.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return null;
                        Severity: Major
                        Found in .phan/plugins/SimplifyExpressionPlugin.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
                                               */
                                              static 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 null;
                            Severity: Major
                            Found in .phan/plugins/PHPUnitAssertionPlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                      return [
                                          'sprintf'                     => $sprintf_handler,
                                      ];
                              Severity: Major
                              Found in .phan/plugins/PrintfCheckerPlugin.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 $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 $inner_context;
                                    Severity: Major
                                    Found in src/Phan/Analysis.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

                                                    return;
                                        Severity: Major
                                        Found in .phan/plugins/EmptyStatementListPlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language