This instance will be upgraded to Heptapod 0.31.0rc on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

Commit c626f263 authored by gfyoung's avatar gfyoung
Browse files

Enable even more frozen string for lib/gitlab

Enables frozen string for the following:

* lib/gitlab/hook_data/**/*.rb
* lib/gitlab/i18n/**/*.rb
* lib/gitlab/import/**/*.rb
* lib/gitlab/import_export/**/*.rb
* lib/gitlab/kubernetes/**/*.rb
* lib/gitlab/legacy_github_import/**/*.rb
* lib/gitlab/manifest_import/**/*.rb
* lib/gitlab/metrics/**/*.rb
* lib/gitlab/middleware/**/*.rb

Partially addresses gitlab-org/gitlab-ce#47424.
parent 28183682a813
---
title: Enable even more frozen string for lib/gitlab
merge_request:
author: gfyoung
type: performance
# frozen_string_literal: true
module Gitlab
module HookData
class BaseBuilder
......
# frozen_string_literal: true
module Gitlab
module HookData
class IssuableBuilder < BaseBuilder
......
# frozen_string_literal: true
module Gitlab
module HookData
class IssueBuilder < BaseBuilder
......
# frozen_string_literal: true
module Gitlab
module HookData
class MergeRequestBuilder < BaseBuilder
......
# frozen_string_literal: true
module Gitlab
module HookData
class NoteBuilder < BaseBuilder
......
# frozen_string_literal: true
module Gitlab
module HookData
class WikiPageBuilder < BaseBuilder
......
# frozen_string_literal: true
module Gitlab
module I18n
class MetadataEntry
......
# frozen_string_literal: true
module Gitlab
module I18n
class PoLinter
......
# frozen_string_literal: true
module Gitlab
module I18n
class TranslationEntry
......
# frozen_string_literal: true
module Gitlab
module Import
class Logger < ::Gitlab::JsonLogger
......
# frozen_string_literal: true
module Gitlab
module ImportExport
module AfterExportStrategies
......
# frozen_string_literal: true
module Gitlab
module ImportExport
module AfterExportStrategies
......
# frozen_string_literal: true
module Gitlab
module ImportExport
module AfterExportStrategies
......
# frozen_string_literal: true
module Gitlab
module ImportExport
class AfterExportStrategyBuilder
......
# frozen_string_literal: true
module Gitlab
module ImportExport
class AttributeCleaner
......
# frozen_string_literal: true
module Gitlab
module ImportExport
class AttributesFinder
......
# frozen_string_literal: true
module Gitlab
module ImportExport
class AvatarRestorer
......
# frozen_string_literal: true
module Gitlab
module ImportExport
class AvatarSaver
......
# frozen_string_literal: true
module Gitlab
module ImportExport
module CommandLineUtil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment