Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

                            return null;
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->getValueForMagicConstByNode($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 $value;
        Severity: Major
        Found in src/Phan/AST/ContextNode.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return $method->createClosureForAssertion(
                              $code_base,
                              new Assertion(UnionType::fromFullyQualifiedPHPDocString('null'), 'unusedParamName', Assertion::IS_NOT_OF_TYPE),
                              0
                          );
          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 .phan/plugins/RedundantAssignmentPlugin.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;
                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/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;
                      Severity: Major
                      Found in .phan/plugins/EmptyStatementListPlugin.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return '#' . ($i + 1) . ' (' . trim($param->getUnionType() . ' $' . $param->getName()) . ')';
                        Severity: Major
                        Found in .phan/plugins/SuspiciousParamOrderPlugin.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                  return count($field_types);
                          Severity: Major
                          Found in .phan/plugins/PhanSelfCheckPlugin.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 @\vsprintf($format_string, $sprintf_args);
                                Severity: Major
                                Found in .phan/plugins/PrintfCheckerPlugin.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

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

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

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

                                        Avoid too many return statements within this method.
                                        Open

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