From: Shawn M Moore Date: Tue, 28 Apr 2009 09:01:02 +0000 (-0400) Subject: More default themes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=528d0b4b14394c73d5405d1fcae46a3261aebc1b;p=gitmo%2FPerl-Critic-Dynamic-Moose.git More default themes --- diff --git a/lib/Perl/Critic/Policy/DynamicMoose.pm b/lib/Perl/Critic/Policy/DynamicMoose.pm index b80cb85..49b7250 100644 --- a/lib/Perl/Critic/Policy/DynamicMoose.pm +++ b/lib/Perl/Critic/Policy/DynamicMoose.pm @@ -11,7 +11,7 @@ has document => ( sub applies_to { 'PPI::Document' } sub applies_to_metaclass { 'Class::MOP::Class', inner() } -sub default_themes { 'moose', inner() } +sub default_themes { qw(moose dynamic dynamicmoose), inner() } around violation => sub { my $orig = shift;