File Coverage

blib/lib/Test/Class/Moose/Deprecated.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Test::Class::Moose::Deprecated;
2              
3             # ABSTRACT: Managed deprecation warnings for Test::Class::Moose
4              
5 33     33   204 use strict;
  33         64  
  33         827  
6 33     33   154 use warnings;
  33         59  
  33         666  
7 33     33   144 use namespace::autoclean;
  33         57  
  33         162  
8              
9 33     33   1959 use 5.010000;
  33         90  
10              
11             our $VERSION = '0.97';
12              
13 33         322 use Package::DeprecationManager 0.16 -deprecations => {
14             'Test::Class::Moose::Config::args' => '0.79',
15 33     33   243 };
  33         540  
16              
17             1;
18              
19             __END__
20              
21             =pod
22              
23             =encoding UTF-8
24              
25             =head1 NAME
26              
27             Test::Class::Moose::Deprecated - Managed deprecation warnings for Test::Class::Moose
28              
29             =head1 VERSION
30              
31             version 0.97
32              
33             =head1 DESCRIPTION
34              
35             use Test::Class::Moose::Deprecated -api_version => $version;
36              
37             =head1 FUNCTIONS
38              
39             This module manages deprecation warnings for features that have been
40             deprecated in L<Test::Class::Moose>.
41              
42             If you specify C<< -api_version => $version >>, you can use deprecated features
43             without warnings. Note that this special treatment is limited to the package
44             that loads C<Test::Class::Moose::Deprecated>.
45              
46             =head1 DEPRECATIONS BY VERSION
47              
48             The following features were deprecated in past versions and will now warn:
49              
50             =head2 Test::Class::Moose::Config->args
51              
52             This was deprecated in version 0.79.
53              
54             =head1 SUPPORT
55              
56             Bugs may be submitted at L<https://github.com/houseabsolute/test-class-moose/issues>.
57              
58             I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>.
59              
60             =head1 SOURCE
61              
62             The source code repository for Test-Class-Moose can be found at L<https://github.com/houseabsolute/test-class-moose>.
63              
64             =head1 AUTHORS
65              
66             =over 4
67              
68             =item *
69              
70             Curtis "Ovid" Poe <ovid@cpan.org>
71              
72             =item *
73              
74             Dave Rolsky <autarch@urth.org>
75              
76             =back
77              
78             =head1 COPYRIGHT AND LICENSE
79              
80             This software is copyright (c) 2012 - 2019 by Curtis "Ovid" Poe.
81              
82             This is free software; you can redistribute it and/or modify it under
83             the same terms as the Perl 5 programming language system itself.
84              
85             The full text of the license can be found in the
86             F<LICENSE> file included with this distribution.
87              
88             =cut