From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 13:18:32 +0000 (+0000) Subject: cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/export... X-Git-Tag: 4.2.0~1386 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=672d3f3917b5f045b3a147c57f422fb275dfacb2;p=redmine.git cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/export/pdf.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19254 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 717f39125..692d8b62a 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1178,7 +1178,6 @@ Style/LineEndConcatenation: # Configuration parameters: IgnoredMethods. Style/MethodCallWithoutArgsParentheses: Exclude: - - 'lib/redmine/export/pdf.rb' - 'lib/redmine/helpers/gantt.rb' - 'lib/redmine/scm/adapters/cvs_adapter.rb' - 'lib/redmine/scm/adapters/filesystem_adapter.rb' diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 987f2b989..c8189367b 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -127,7 +127,7 @@ module Redmine RDMCell(0, 5, @footer_date, 0, 0, 'L') end set_x(-30) - RDMCell(0, 5, get_alias_num_page() + '/' + get_alias_nb_pages(), 0, 0, 'C') + RDMCell(0, 5, get_alias_num_page + '/' + get_alias_nb_pages, 0, 0, 'C') end end