Showing 3,272 of 4,939 total issues

Avoid too many return statements within this method.
Open

        return true;
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 .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 $string_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 $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;
              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 null;
                    Severity: Major
                    Found in .phan/plugins/PrintfCheckerPlugin.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return $result;
                      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 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language