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 34     34   274 use strict;
  34         90  
  34         1612  
6 34     34   270 use warnings;
  34         96  
  34         2089  
7 34     34   233 use namespace::autoclean;
  34         113  
  34         362  
8              
9 34     34   3897 use 5.010000;
  34         158  
10              
11             our $VERSION = '1.00';
12              
13 34         438 use Package::DeprecationManager 0.16 -deprecations => {
14             'Test::Class::Moose::Config::args' => '0.79',
15 34     34   276 };
  34         951  
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 1.00
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 deprecated
40             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/Test-More/test-class-moose/issues>.
57              
58             =head1 SOURCE
59              
60             The source code repository for Test-Class-Moose can be found at L<https://github.com/Test-More/test-class-moose>.
61              
62             =head1 AUTHORS
63              
64             =over 4
65              
66             =item *
67              
68             Curtis "Ovid" Poe <ovid@cpan.org>
69              
70             =item *
71              
72             Dave Rolsky <autarch@urth.org>
73              
74             =item *
75              
76             Chad Granum <exodist@cpan.org>
77              
78             =back
79              
80             =head1 COPYRIGHT AND LICENSE
81              
82             This software is copyright (c) 2012 - 2025 by Curtis "Ovid" Poe.
83              
84             This is free software; you can redistribute it and/or modify it under
85             the same terms as the Perl 5 programming language system itself.
86              
87             The full text of the license can be found in the
88             F<LICENSE> file included with this distribution.
89              
90             =cut