Fix Style/OpenStructUse offenses in application settings helper
What does this MR do and why?
This MR aims to solve the issue #344279
It replaces OpenStruct
use since Ruby 3 discourages and replaces it by Struct
.
Ideally, we want to use a "proper" object. See #358419.
File Change
.rubocop_todo/style/open_struct_use.yml
app/helpers/application_settings_helper.rb
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Leitzen