More (temporary) kwalitee fixups
Peter Rabbitson [Fri, 15 Feb 2013 08:48:50 +0000 (09:48 +0100)]
lib/DBIx/Class/Admin/Types.pm
lib/DBIx/Class/Storage/DBI/Replicated/Types.pm
xt/strictures.t

index 23af292..c6f37c6 100644 (file)
@@ -1,6 +1,10 @@
 package # hide from PAUSE
     DBIx::Class::Admin::Types;
 
+# Workaround for https://rt.cpan.org/Public/Bug/Display.html?id=83336
+use warnings;
+use strict;
+
 use MooseX::Types -declare => [qw(
     DBICConnectInfo
     DBICArrayRef
index 4e75aa2..fa926a9 100644 (file)
@@ -4,6 +4,10 @@ package # hide from PAUSE
 # DBIx::Class::Storage::DBI::Replicated::Types - Types used internally by
 # L<DBIx::Class::Storage::DBI::Replicated>
 
+# Workaround for https://rt.cpan.org/Public/Bug/Display.html?id=83336
+use warnings;
+use strict;
+
 use MooseX::Types
   -declare => [qw/BalancerClassNamePart Weight DBICSchema DBICStorageDBI/];
 use MooseX::Types::Moose qw/ClassName Str Num/;
index 9e94cfa..45cc88d 100644 (file)
@@ -23,10 +23,6 @@ find({
     return if m{^(?:
       maint/Makefile.PL.inc/.+                        # all the maint inc snippets are auto-strictured
         |
-      lib/DBIx/Class/Admin/Types.pm                   # MooseX::Types undetected
-        |
-      lib/DBIx/Class/Storage/DBI/Replicated/Types.pm  # MooseX::Types undetected
-        |
       lib/DBIx/Class/Storage/BlockRunner.pm           # Moo undetected
         |
       t/lib/DBICTest/Util/OverrideRequire.pm          # no stictures by design (load order sensitive)