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/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                        return;
    Severity: Major
    Found in src/Phan/Plugin/Internal/MiscParamPlugin.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/MiscParamPlugin.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                                return [];
        Severity: Major
        Found in src/Phan/Plugin/Internal/RedundantConditionLoopCheck.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                              return [];
          Severity: Major
          Found in src/Phan/Plugin/Internal/RedundantConditionLoopCheck.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return true;
            Severity: Major
            Found in src/Phan/Plugin/Internal/RedundantConditionVisitor.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return \max(0.1, $result + $adjustment + self::getTypeMatchingBonus($code_base, $return_type, self::$return_type));
              Severity: Major
              Found in src/Phan/Plugin/Internal/MethodSearcherPlugin.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return false;
                Severity: Major
                Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                  return false;
                  Severity: Major
                  Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                            return false;
                    Severity: Major
                    Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                              return Issue::fromType(Issue::ParamSpecial2)(
                                                  $context->getFile(),
                                                  $context->getLineNumberStart(),
                                                  [
                                                      1,
                      Severity: Major
                      Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                            return Issue::fromType(Issue::ParamSpecial4)(
                                                $context->getFile(),
                                                $context->getLineNumberStart(),
                                                [
                                                $function->getRepresentationForIssue(),
                        Severity: Major
                        Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                                  return Issue::fromType(Issue::ParamTypeMismatch)(
                                                      $context->getFile(),
                                                      $context->getLineNumberStart(),
                                                      [
                                                      ($i + 1),
                          Severity: Major
                          Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return;
                            Severity: Major
                            Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                      return [ListType::fromElementType($type->genericArrayElementType(), $type->isNullable(), $type->getKeyType())];
                              Severity: Major
                              Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                        return;
                                Severity: Major
                                Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                                          return;
                                  Severity: Major
                                  Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                    return;
                                    Severity: Major
                                    Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return [];
                                      Severity: Major
                                      Found in src/Phan/Plugin/Internal/RedundantConditionLoopCheck.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return [];
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/RedundantConditionLoopCheck.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language