Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

                    return self::extractIncrementDirectionForAssignOp($code_base, $context, $var_name, $operation->children['right'], $is_subtraction);
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/StringFunctionPlugin.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                          return $right;
      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 $has_array_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/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 $has_iterable_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/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 $false_type->asPHPDocUnionType();
                          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;
                            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/RedundantConditionVisitor.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                            return [NonEmptyAssociativeArrayType::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 $result ?: [AssociativeArrayType::fromElementType(MixedType::instance(false), $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 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 [$type];
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/MiscParamPlugin.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language