Skip to content

Commit

Permalink
Enable frozen_string_literal for some files under app and lib directo…
Browse files Browse the repository at this point in the history
…ry (#26561).

git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
vividtone committed Mar 16, 2019
1 parent e70c283 commit 07b3087
Show file tree
Hide file tree
Showing 189 changed files with 189 additions and 189 deletions.
2 changes: 1 addition & 1 deletion app/controllers/account_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/activities_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/admin_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/auth_sources_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/auto_completes_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/boards_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/calendars_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/comments_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/context_menus_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/custom_field_enumerations_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/custom_fields_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/documents_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/email_addresses_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/enumerations_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/files_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/gantts_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/groups_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/imports_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/issue_categories_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/issue_relations_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/issue_statuses_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/issues_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/mail_handler_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/members_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/my_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/news_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/previews_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/principal_memberships_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/project_enumerations_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/projects_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/queries_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/reports_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/roles_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/settings_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/sys_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/timelog_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/trackers_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/versions_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/watchers_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/welcome_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/wiki_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/wikis_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/workflows_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/account_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/activities_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/admin_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/auth_sources_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/boards_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/documents_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/email_addresses_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/enumerations_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/gantt_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/groups_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/imports_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/issue_categories_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/issue_relations_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/issue_statuses_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/journals_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/mail_handler_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/members_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/messages_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/my_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/news_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/principal_memberships_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true

# Redmine - project management software
# Copyright (C) 2006-2017 Jean-Philippe Lang
Expand Down
Loading

0 comments on commit 07b3087

Please sign in to comment.