| 1 | use strict; | ||
| 2 | use warnings; | ||
| 3 | package Dist::Zilla::Plugin::CriticTests; | ||
| 4 | # ABSTRACT: (DEPRECATED) tests to check your code against best practices. | ||
| 5 | our $VERSION = '3.005'; | ||
| 6 | use Moose; | ||
| 7 | extends 'Dist::Zilla::Plugin::Test::Perl::Critic'; | ||
| 8 | use namespace::autoclean; | ||
| 9 | |||
| 10 | before register_component => sub { | ||
| 11 | warn "!!! [CriticTests] is deprecated and may be removed in the future; replace it with [Test::Perl::Critic]\n"; | ||
| 12 | }; | ||
| 13 | |||
| 14 | #pod =for stopwords LICENCE | ||
| 15 | #pod | ||
| 16 | #pod =head1 SYNOPSIS | ||
| 17 | #pod | ||
| 18 | #pod THIS MODULE IS DEPRECATED, PLEASE USE | ||
| 19 | #pod L<Dist::Zilla::Plugin::Test::Perl::Critic> INSTEAD. IT MAY BE REMOVED AT | ||
| 20 | #pod A LATER TIME (but not before 2012-08-29). | ||
| 21 | #pod | ||
| 22 | #pod This module is only a compatibility stub for that module, and should | ||
| 23 | #pod continue to work as expected - although with a warning. Refer to the | ||
| 24 | #pod replacement for the actual documentation. | ||
| 25 | #pod | ||
| 26 | #pod =cut | ||
| 27 | |||
| 28 | no Moose; | ||
| 29 | __PACKAGE__->meta->make_immutable; | ||
| 30 | 1; | ||
| 31 | |||
| 32 | __END__ |