summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 13:18:32 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 13:18:32 +0000
commit672d3f3917b5f045b3a147c57f422fb275dfacb2 (patch)
tree0c1f939ea2aa40ce7d2a7ae02c2fac1ab0f2dfff
parent4a60ebd848eb4268d060a69ea6c55de12a2a713a (diff)
downloadredmine-672d3f3917b5f045b3a147c57f422fb275dfacb2.tar.gz
redmine-672d3f3917b5f045b3a147c57f422fb275dfacb2.zip
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
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--lib/redmine/export/pdf.rb2
2 files changed, 1 insertions, 2 deletions
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