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