Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

            return $element_types;
Severity: Major
Found in src/Phan/Plugin/Internal/ClosureReturnTypeOverridePlugin.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return $int_or_string_or_false;
    Severity: Major
    Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return $element_types->asNonEmptyGenericArrayTypes($key_type_enum);
      Severity: Major
      Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return false;
        Severity: Major
        Found in src/Phan/Plugin/Internal/ClosureReturnTypeOverridePlugin.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return $real_nullable_array;
          Severity: Major
          Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                        return 70400;
            Severity: Major
            Found in src/Phan/Config.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                          return 'Expected an array' . self::errSuffixGotType($value);
              Severity: Major
              Found in src/Phan/Config.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                            return;
                Severity: Major
                Found in src/Phan/Plugin/Internal/PhantasmPlugin/PhantasmVisitor.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return Issue::UnusedPublicFinalMethodParameter;
                  Severity: Major
                  Found in src/Phan/Plugin/Internal/VariableTrackerPlugin.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return $possible_return_nodes;
                    Severity: Major
                    Found in src/Phan/Plugin/Internal/UseReturnValuePlugin/RedundantReturnVisitor.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return static function (
                                      CodeBase $unused_code_base,
                                      Context $unused_context,
                                      Func $unused_function,
                                      array $args
                      Severity: Major
                      Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return NullType::instance(false)->asRealUnionType();
                        Severity: Major
                        Found in src/Phan/Plugin/Internal/ClosureReturnTypeOverridePlugin.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                      return $probably_real_array;
                          Severity: Major
                          Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return $array_type->asPHPDocUnionType();
                            Severity: Major
                            Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                      return $union_type->hasRealTypeSet();
                              Severity: Major
                              Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return 'Expected an integer' . self::errSuffixGotType($value);
                                Severity: Major
                                Found in src/Phan/Config.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                  return null;
                                  Severity: Major
                                  Found in src/Phan/Config.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return Issue::UnusedPublicNoOverrideMethodParameter;
                                    Severity: Major
                                    Found in src/Phan/Plugin/Internal/VariableTrackerPlugin.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                  return;
                                      Severity: Major
                                      Found in src/Phan/Plugin/Internal/UseReturnValuePlugin/UseReturnValueVisitor.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                            return $string_union_type_with_null_in_real;
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language