Showing 3,272 of 4,939 total issues

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

                          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 !$type->canPossiblyCastToClass($code_base, $class_type);
                              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 $union_type;
                                Severity: Major
                                Found in src/Phan/Plugin/Internal/ThrowAnalyzerPlugin.php - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

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

                                    Avoid too many return statements within this method.
                                    Open

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

                                      Avoid too many return statements within this method.
                                      Open

                                                      return $this->analyze($this->scope, $node);
                                      Severity: Major
                                      Found in src/Phan/Plugin/Internal/VariableTracker/VariableTrackerVisitor.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

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