mirror of
https://github.com/redmine/redmine.git
synced 2025-12-17 05:50:29 +01:00
code cleanup: rubocop: fix Layout/EndAlignment in lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18732 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -161,13 +161,6 @@ Layout/EmptyLinesAroundMethodBody:
|
|||||||
Layout/EmptyLinesAroundModuleBody:
|
Layout/EmptyLinesAroundModuleBody:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
|
|
||||||
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
|
||||||
Layout/EndAlignment:
|
|
||||||
Exclude:
|
|
||||||
- 'lib/redmine/export/pdf/issues_pdf_helper.rb'
|
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
||||||
Layout/ExtraSpacing:
|
Layout/ExtraSpacing:
|
||||||
|
|||||||
@@ -343,7 +343,7 @@ module Redmine
|
|||||||
pdf.set_auto_page_break(true, bottom_margin)
|
pdf.set_auto_page_break(true, bottom_margin)
|
||||||
pdf.RDMwriteHTMLCell(0, 5, 10, '', issue.last_notes.to_s, [], "LRBT")
|
pdf.RDMwriteHTMLCell(0, 5, 10, '', issue.last_notes.to_s, [], "LRBT")
|
||||||
pdf.set_auto_page_break(false)
|
pdf.set_auto_page_break(false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if issues.size == Setting.issues_export_limit.to_i
|
if issues.size == Setting.issues_export_limit.to_i
|
||||||
|
|||||||
Reference in New Issue
Block a user