Showing 3,272 of 4,939 total issues

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 [];
    Severity: Major
    Found in src/Phan/IssueFixSuggester.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

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

        Avoid too many return statements within this method.
        Open

                    return $this->namespace === '\\' && $this->name === 'Closure';
        Severity: Major
        Found in src/Phan/Language/Type.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return ['self::$' . $name];
          Severity: Major
          Found in src/Phan/IssueFixSuggester.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                    return [
                                        $switch_variable_node,
                                        /**
                                         * @param Node|string|int|float $cond_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::NOOP_SWITCH_COND_ANALYZER;
              Severity: Major
              Found in src/Phan/BlockAnalysisVisitor.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                        return [
                                            $match_variable_node,
                                            /**
                                             * @param Node|string|int|float $cond_node
                                             */
                Severity: Major
                Found in src/Phan/BlockAnalysisVisitor.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

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

                    Avoid too many return statements within this method.
                    Open

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

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                        return $this->canCastTraversableToIterable($type);
                        Severity: Major
                        Found in src/Phan/Language/Type.php - About 30 mins to fix

                          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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language