Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

        return Suggestion::fromString($suggestion_text);
Severity: Major
Found in src/Phan/IssueFixSuggester.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                        return StaticType::instance($is_nullable);
    Severity: Major
    Found in src/Phan/Language/Type.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return false;
      Severity: Major
      Found in src/Phan/Language/Type.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return ParseVisitor::isConstExpr($node);
        Severity: Major
        Found in src/Phan/BlockAnalysisVisitor.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return self::canNodeKindBeNull($node->children['right']);
          Severity: Major
          Found in src/Phan/BlockAnalysisVisitor.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

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

              Avoid too many return statements within this method.
              Open

                          return "UNKNOWN_KIND($kind)";
              Severity: Major
              Found in src/Phan/Debug.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::UnusedProtectedMethodParameter;
                  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 null;
                    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 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 $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;
                            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 ($options_result & \JSON_OBJECT_AS_ARRAY) !== 0 ? $json_decode_array_types : $json_decode_object_types;
                              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 $has_array ? $str_array_type : $str_replace_types;
                                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 $string_union_type_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 [
                                                // 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 $generic_passed_array_type->withFlattenedTopLevelArrayShapeTypeInstances()
                                                                                           ->withAssociativeArrays(true)
                                                                                           ->withPossiblyEmptyArrays();
                                      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 $cache[$i];
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language