Showing 3,272 of 4,939 total issues

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

                          Avoid too many return statements within this method.
                          Open

                                      return $types->withRealTypeSet(UnionType::typeSetFromString('\Closure|false|null'));
                          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 [
                                        // call
                                        'call_user_func'            => $call_user_func_callback,
                                        'forward_static_call'       => $call_user_func_callback,
                                        'call_user_func_array'      => $call_user_func_array_callback,
                            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 $array_map_function->getUnionType();
                              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 null;
                                Severity: Major
                                Found in src/Phan/Config.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return true;
                                  Severity: Major
                                  Found in src/Phan/Bootstrap.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 [$parent, false];
                                      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;
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/UseReturnValuePlugin/UseReturnValueVisitor.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language