Skip to content
Snippets Groups Projects
Unverified Commit d1bd1baf authored by Martin Schurz's avatar Martin Schurz Committed by GitLab
Browse files

Fix deprecated usagepatterns of rubocop

parent 290cd04f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,7 +5,7 @@
module RuboCop
module Cop
module Gitlab
class RailsLogger < ::RuboCop::Cop::Cop
class RailsLogger < ::RuboCop::Cop::Base
include CodeReuseHelpers
 
# This cop checks for the Rails.logger log methods in the codebase
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@
module RuboCop
module Cop
module Migration
class ChangeColumnNullOnHighTrafficTable < RuboCop::Cop::Cop
class ChangeColumnNullOnHighTrafficTable < RuboCop::Cop::Base
include MigrationHelpers
 
MSG = 'Using `change_column_null` migration helper is risky for high-traffic tables. ' \
Loading
Loading
Loading
Loading
@@ -23,7 +23,7 @@ module QA
# describe 'some test' do
# before do
# Runtime::Feature.enable(:flag)
class FeatureFlags < RuboCop::Cop::Cop
class FeatureFlags < RuboCop::Cop::Base
APPLY_MESSAGE = "Apply the `feature_flag: { name: :flag }` metadata to the test to use `%{feature}` in " \
"end-to-end tests."
BLOCK_MESSAGE = "Feature flags must specify a name. Use a block with `feature_flag: { name: :flag }` instead."
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment