Showing 3,272 of 4,939 total issues

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

                          Avoid too many return statements within this method.
                          Open

                                  return [
                                      // call
                                      'printf'     => $printf_callback,
                                      'sprintf'    => $printf_callback,
                                      'fprintf'    => $fprintf_callback,
                          Severity: Major
                          Found in .phan/plugins/PrintfCheckerPlugin.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                    return (string)$name_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 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 $this->getValueForEmptyCheck($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 .phan/plugins/ConstantVariablePlugin.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return $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 $this->getValueForUnaryOp($node, $flags);
                                        Severity: Major
                                        Found in src/Phan/AST/ContextNode.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language