Freeze string literals in app/validators

rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/validators
This commit is contained in:
Alexander Brandon Coles
2025-07-18 17:33:59 +01:00
parent 261a42b7d8
commit 8cd962348a
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
# frozen_string_literal: true
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
@@ -1,3 +1,5 @@
# frozen_string_literal: true
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) the OpenProject GmbH
+2
View File
@@ -1,3 +1,5 @@
# frozen_string_literal: true
# Borrows from http://gist.github.com/bf4/5320847
# without addressable requirement
# Accepts options[:allowed_protocols]