Showing 4,939 of 4,939 total issues

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

                  Avoid too many return statements within this method.
                  Open

                              return $result->withRealTypeSet($probably_real_assoc_array_falsey->getRealTypeSet());
                  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('array', 'array|false');
                    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/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                                return [AssociativeArrayType::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/RedundantConditionLoopCheck.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/StringFunctionPlugin.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/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 (new ContextNode(
                                                        $code_base,
                                                        $context,
                                                        $node
                                                    ))->getVariableStrict();
                                    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 [NonEmptyListType::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 [$type];
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language