Skip to content

Commit

Permalink
RT #71093: CodeLayout::ProhibitHardTabs comes from PBP, but is not used
Browse files Browse the repository at this point in the history
when theme = pbp.

Added 'pbp' to default_themes().


git-svn-id: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/Perl-Critic@4094 7ac2fd03-a204-0410-b7b1-b9f6acf132f9
  • Loading branch information
wyant committed Nov 17, 2011
1 parent 514607b commit df2f0d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/Perl/Critic/Policy/CodeLayout/ProhibitHardTabs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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' }

#-----------------------------------------------------------------------------
Expand Down

0 comments on commit df2f0d7

Please sign in to comment.