[Patches] [PATCH] Bug 6986 - update perltidy with new official style
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Sat Dec 31 20:15:02 NZDT 2011
From: Mason James <mtj at kohaaloha.com>
Date: Fri, 7 Oct 2011 13:35:19 +1300
Subject: [PATCH] Bug 6986 - update perltidy with new official style
generated by running 'perltidy -npro -opt'
modified: xt/perltidyrc
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
---
xt/perltidyrc | 144 ++++++++++++++++++++++++++++-----------------------------
1 files changed, 70 insertions(+), 74 deletions(-)
diff --git a/xt/perltidyrc b/xt/perltidyrc
index f7d9a3c..bde56e0 100644
--- a/xt/perltidyrc
+++ b/xt/perltidyrc
@@ -1,75 +1,71 @@
-# --add-newlines
-# --add-semicolons
-# --add-whitespace
-# --backup-file-extension=bak
-# --blanks-before-blocks
-# --blanks-before-comments
-# --blanks-before-subs
-# --block-brace-tightness=0
-# --block-brace-vertical-tightness=0
-# --brace-tightness=1
-# --brace-vertical-tightness-closing=0
-# --brace-vertical-tightness=0
-# --break-at-old-keyword-breakpoints
-# --break-at-old-logical-breakpoints
-# --break-at-old-ternary-breakpoints
-# --closing-brace-indentation=0
-# --closing-paren-indentation=0
-# --closing-side-comment-else-flag=0
-# --closing-side-comment-interval=6
-# --closing-side-comment-maximum-text=20
-# --closing-square-bracket-indentation=0
-# --comma-arrow-breakpoints=1
-# --continuation-indentation=2
---cuddled-else
-# --delete-old-newlines
-# --delete-semicolons
-# --format-skipping
-# --format=tidy
-# --fuzzy-line-length
-# --hanging-side-comments
-# --html-entities
-# --html-table-of-contents
-# --indent-block-comments
-# --indent-columns=4
-# --long-block-line-count=8
-# --look-for-autoloader
-# --look-for-selfloader
-# --maximum-consecutive-blank-lines=1
-# --maximum-fields-per-table=0
---maximum-line-length=178
-# --minimum-space-to-comment=4
-# --nobrace-left-and-indent
-# --nocheck-syntax
-# --nodelete-old-whitespace
-# --nohtml
-# --nologfile
-# --noquiet
-# --noshow-options
-# --nostatic-side-comments
-# --noswallow-optional-blank-lines
-# --notabs
-# --nowarning-output
---opening-brace-always-on-right
-# --outdent-labels
-# --outdent-long-comments
-# --outdent-long-quotes
+# See utility 'perltidyrc_dump.pl' for nicer formatting.
+--add-newlines
+--add-semicolons
+--add-whitespace
+--backup-file-extension="bak"
+--blanks-before-blocks
+--blanks-before-comments
+--blanks-before-subs
+--block-brace-tightness=0
+--block-brace-vertical-tightness=0
+--nobrace-left-and-indent
+--brace-tightness=1
+--brace-vertical-tightness=0
+--brace-vertical-tightness-closing=0
+--break-at-old-keyword-breakpoints
+--break-at-old-logical-breakpoints
+--break-at-old-ternary-breakpoints
+--nocheck-syntax
+--closing-brace-indentation=0
+--closing-paren-indentation=0
+--closing-side-comment-else-flag=0
+--closing-side-comment-interval=6
+--closing-side-comment-maximum-text=20
+--closing-square-bracket-indentation=0
+--comma-arrow-breakpoints=1
+--continuation-indentation=2
+--nocuddled-else
+--delete-old-newlines
+--nodelete-old-whitespace
+--delete-semicolons
+--format="tidy"
+--format-skipping
+--fuzzy-line-length
+--hanging-side-comments
+--nohtml
+--html-entities
+--html-table-of-contents
+--indent-block-comments
+--indent-columns=4
+--nologfile
+--long-block-line-count=8
+--look-for-autoloader
+--look-for-selfloader
+--maximum-consecutive-blank-lines=1
+--maximum-fields-per-table=0
+--maximum-line-length=80
+--minimum-space-to-comment=4
+--outdent-labels
+--outdent-long-comments
+--outdent-long-quotes
--paren-tightness=1
-# --paren-vertical-tightness-closing=0
-# --paren-vertical-tightness=0
-# --pass-version-line
-# --perl-syntax-check-flags=-c -T
-# --pod2html
-# --recombine
-# --short-concatenation-item-length=8
-# --space-for-semicolon
-# --square-bracket-tightness=1
-# --square-bracket-vertical-tightness-closing=0
-# --square-bracket-vertical-tightness=0
-# --static-block-comments
-# --trim-qw
-# --valign
---vertical-tightness=2
-
-
-
+--paren-vertical-tightness=0
+--paren-vertical-tightness-closing=0
+--pass-version-line
+--perl-syntax-check-flags="-c -T"
+--pod2html
+--noquiet
+--recombine
+--short-concatenation-item-length=8
+--show-options
+--space-for-semicolon
+--square-bracket-tightness=1
+--square-bracket-vertical-tightness=0
+--square-bracket-vertical-tightness-closing=0
+--static-block-comments
+--nostatic-side-comments
+--noswallow-optional-blank-lines
+--notabs
+--trim-qw
+--valign
+--nowarning-output
--
1.7.5.4
More information about the Patches
mailing list