Login
RT #71093: CodeLayout::ProhibitHardTabs comes from PBP, but is not used
authorTom Wyant <harryfmudd@comcast.net>
Thu, 17 Nov 2011 18:14:13 +0000 (18:14 +0000)
committerTom Wyant <harryfmudd@comcast.net>
Thu, 17 Nov 2011 18:14:13 +0000 (18:14 +0000)
when theme = pbp.

Added 'pbp' to default_themes().

Changes
lib/Perl/Critic/Policy/CodeLayout/ProhibitHardTabs.pm

diff --git a/Changes b/Changes
index 5c01957..6ffeb5e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -3,6 +3,8 @@ Next release, whenever it is:
     Policy Changes:
     * BuiltinFunctions::ProhibitLvalueSubstr: Add explicit 'use version'.
       RT #68498.
+    * CodeLayout::ProhibitHardTabs: Add 'pbp' to the default_themes list.
+      RT #71093.
     * ControlStructures::ProhibitMutatingListFunctions now understands that
       tr///r (introduced in 5.13.7) does not change its operand.
     * ErrorHandling::RequireCheckingReturnValueOfEval now allows things
index 4a60416..07494ce 100644 (file)
@@ -44,7 +44,7 @@ sub supported_parameters {
 }
 
 sub default_severity { return $SEVERITY_MEDIUM    }
-sub default_themes   { return qw( core cosmetic ) }
+sub default_themes   { return qw( core cosmetic pbp )   }
 sub applies_to       { return 'PPI::Token'        }
 
 #-----------------------------------------------------------------------------