]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/export...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 13:18:32 +0000 (13:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 13:18:32 +0000 (13:18 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19254 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
lib/redmine/export/pdf.rb

index 717f3912533b58f948d902daf23d454592b516bb..692d8b62a80339034056821221bdf1446b7108ff 100644 (file)
@@ -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'
index 987f2b9892c87bac09f435cff7061b803ba4a875..c8189367bd8b95c8b23bad531898b0a875f1dd60 100644 (file)
@@ -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