Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

silence rubocop for now

Markus Kahl8305bf2387f6
diff --git a/db/migrate/20250804133700_migrate_auth_provider_urls_again.rb b/db/migrate/20250804133700_migrate_auth_provider_urls_again.rb
index 55ad828aeba..907e0f05548 100644
--- a/db/migrate/20250804133700_migrate_auth_provider_urls_again.rb
+++ b/db/migrate/20250804133700_migrate_auth_provider_urls_again.rb
@@ -29,7 +29,7 @@
#++
class MigrateAuthProviderUrlsAgain < ActiveRecord::Migration[8.0]
- def change
+ def change # rubocop:disable Metrics/AbcSize
reversible do |direction|
direction.up do
PluginAuthProvider.create_all_registered
diff --git a/modules/auth_plugins/lib/open_project/plugins/auth_plugin.rb b/modules/auth_plugins/lib/open_project/plugins/auth_plugin.rb
index 75446d0c4a0..1ccaef6871f 100644
--- a/modules/auth_plugins/lib/open_project/plugins/auth_plugin.rb
+++ b/modules/auth_plugins/lib/open_project/plugins/auth_plugin.rb
@@ -28,7 +28,7 @@
module OpenProject::Plugins
module AuthPlugin
- def register_auth_providers(persist: true, &)
+ def register_auth_providers(persist: true, &) # rubocop:disable Metrics/AbcSize
builder = ProviderBuilder.new
initializer "#{engine_name}.middleware" do |app|
builder.instance_eval(&)