Showing 4,939 of 4,939 total issues

Avoid too many return statements within this method.
Open

            return $types;
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 $array_map_function->getUnionType();
    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 $result;
      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/Config.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return null;
          Severity: Major
          Found in src/Phan/Config.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return $result;
            Severity: Major
            Found in src/Phan/Config.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return $null_type->asRealUnionType();
              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 $generic_passed_array_type->withFlattenedTopLevelArrayShapeTypeInstances()
                                                                         ->withMappedElementTypes(static function (UnionType $union_type): UnionType {
                                                                            return $union_type->nonFalseyClone();
                                                                         })
                                                                         ->withAssociativeArrays(true)
                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 $real_nullable_array;
                  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 $json_decode_object_types;
                    Severity: Major
                    Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

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

                        Avoid too many return statements within this method.
                        Open

                                    return $result_types->withRealTypeSet($nullable_array_type_set);
                        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 Type::fromObject($result)->asPHPDocUnionType();
                          Severity: Major
                          Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.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/ArrayReturnTypeOverridePlugin.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return StringType::instance(false)->asRealUnionType();
                              Severity: Major
                              Found in src/Phan/Plugin/Internal/DependentReturnTypeOverridePlugin.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                return $key_type->withType($null_type)->withRealTypeSet($int_or_string_or_null->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::fromFullyQualifiedRealString('?array');
                                  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 $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 $left;
                                        Severity: Major
                                        Found in src/Phan/Plugin/Internal/RedundantConditionVisitor.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language