Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 78722
Status: new
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: michael [...] thegrebs.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Attachments
0001-Add-Mouse-Moo-and-Mo-to-list-of-modules-giving-stric.patch



Subject: Add Mouse Moo and Mo to modules that provide stict/warnings
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1343842514-16452-10"
Content-Length: 0
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 321
Download (untitled) / with headers
text/plain 321b
Mouse, Moo, and Mo all provide the equivalent of use strict and use warnings just like Moose. This patch adds them to the appropriate list. The line is a little long and I looked for style guidance in other tests but wasn't able to find a suitable example to decide whether to split the list to multiple lines or not.
Subject: 0001-Add-Mouse-Moo-and-Mo-to-list-of-modules-giving-stric.patch
MIME-Version: 1.0
Content-Type: application/octet-stream; name="0001-Add-Mouse-Moo-and-Mo-to-list-of-modules-giving-stric.patch"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline; filename="0001-Add-Mouse-Moo-and-Mo-to-list-of-modules-giving-stric.patch"
Content-Transfer-Encoding: base64
Content-Length: 1380
diff --git a/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseStrict.pm b/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseStrict.pm index 87f0e4d..fe9f592 100644 --- a/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseStrict.pm +++ b/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseStrict.pm @@ -38,7 +38,7 @@ sub supported_parameters { default_string => $EMPTY, behavior => 'string list', list_always_present_values => - [ qw< strict Moose Moose::Role Moose::Util::TypeConstraints > ], + [ qw< strict Moose Moose::Role Moose::Util::TypeConstraints Mouse Moo Mo > ], }, ); } diff --git a/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseWarnings.pm b/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseWarnings.pm index e97736f..7e97d3b 100644 --- a/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseWarnings.pm +++ b/lib/Perl/Critic/Policy/TestingAndDebugging/RequireUseWarnings.pm @@ -38,7 +38,7 @@ sub supported_parameters { default_string => $EMPTY, behavior => 'string list', list_always_present_values => - [ qw< warnings Moose Moose::Role Moose::Util::TypeConstraints > ], + [ qw< warnings Moose Moose::Role Moose::Util::TypeConstraints Mouse Moo Mo > ], }, ); }


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.