Showing 3,272 of 4,939 total issues

Avoid too many return statements within this method.
Open

            return;
Severity: Major
Found in src/Phan/BlockAnalysisVisitor.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 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 [
                            $switch_case_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 true;
          Severity: Major
          Found in src/Phan/BlockAnalysisVisitor.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 $result;
              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 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 self::make(
                                    $fqsen->getNamespace(),
                                    $fqsen->getName(),
                                    $template_parameter_type_list,
                                    $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 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 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 [
                                              $match_case_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 $result;
                            Severity: Major
                            Found in src/Phan/Language/Type.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return SelfType::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 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 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 $this->canCastToNonNullableType($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 $this->isSubtypeOfNonNullableType($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 $type->isNull();
                                        Severity: Major
                                        Found in src/Phan/BlockAnalysisVisitor.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language