Showing 4,939 of 4,939 total issues

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

                  Avoid too many return statements within this method.
                  Open

                                  return $result->nonFalseyClone();
                  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 UnionType::fromFullyQualifiedPHPDocAndRealString('list<mixed>', '?list<mixed>');
                    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 Issue::UnusedProtectedNoOverrideMethodParameter;
                      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 Suggestion::fromString('Did you mean ' . \implode(' or ', $suggestions));
                        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 $real_int_type;
                            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 $real_int_type;
                              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 $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 $key_type->withRealTypeSet(\array_merge($real_key_type->getTypeSet(), [$null_type]));
                                  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 $result;
                                    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 $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 $function_return_types;
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language