-
Notifications
You must be signed in to change notification settings - Fork 3
/
Changes
100 lines (65 loc) · 3.17 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Revision history for Perl module Perl::Critic::StricterSubs
0.08 2024-10-21
Minimum Perl version is now 5.10.1, the same as Perl::Critic itself.
[Enhancements]
RequireExplicitInclusion no longer will throw a warning on STDIN,
STDOUT and STDERR, such as with STDOUT->autoflush. (GH #21)
0.07 2024-09-30
[Enhancements]
* ProhibitCallsToUndeclaredSubs did not know that functions like
flock and seek and opendir took filehandles or readhandles, so would
give false positives. (GH#15)
* Added configuration to Modules::RequireExplicitInclusion to specify
modules to ignore for violations.
0.06 2022-04-25
[Enhancements]
* Modules::RequireExplicitInclusion: Disambiguated package names,
such as Foo::Bar:: instead of just Foo::Bar, are now OK.
Thanks, Olaf Alders and Klaus S. Madsen.
* Modules::RequireExplicitInclusion: Add "utf8" to the list of
built-in modules that don't require "use". Thanks, Klaus S. Madsen.
0.05 2015-02-20
[Bug Fixes]
* Corrected dependencies listed in the META files. GH #1
0.04 2015-02-18
[Bug Fixes]
* Fixed RT #72022. Uses of labels in next(), last() or redo() are no
longer seen by ProhibitCallsToUndeclaredSubs.
* Fixed RT #66863. Test::Deep not needed for testing.
* Fixed RT #62184. All subroutines imported in a quoted but
unparenthesized list are now seen by ProhibitCallsToUndeclaredSubs.
* Fixed RT #43314 and 44609. Modules::RequireExplicitInclusion now
allows __PACKAGE__->foo().
* Fixed RT #43310. Subroutines::ProhibitCallsToUndeclaredSubs now
handles imports that specify version number.
* Fixed RT #36783. Subroutines::ProhibitCallsToUndeclaredSubs now
handles qw{...} strings inside a list.
[Miscellaneous]
* Author-only tests have been moved to the xt/author directory.
* The repository for this code has been moved to GitHub.
* Modernized the format of this Changes log.
[Gratitude]
Thank you Tom Wyant for contributing all these patches. Thank you
Mark Gardner for motivating me to finally ship.
0.03 2008-01-10
[Bug Fixes]
Fixed test failures due to incompatibility with newer
PPI versions. This distro now requires PPI 1.2 vis-a-vi
Perl-Critic 1.080. Thanks cpantesters!
0.02 2007-07-01
[Enhancements]
* ProhibitCallsToUndeclaredSubs is now configurable to exempt specific
packages and subroutines. See docs for details.
* Added support for blocks-of-constants in ProhibitCallsToUndeclaredSubs.
For example: use constant {FOO => 1, BAR => 2);
* RequireExplicitInclusion now considers all "include" statements. So
a conditional or lexical "require" will now satisfy the policy, even
if that condition is never satisfied during run-time, or the package
is included in the wrong scope.
* Refactored common code into the StricterSubs::Utils module.
* Eliminated certain flavors of false-positives in several Policies.
* Improved caching gives performance boost when analyzing many files.
* Documented diagnostic messages.
* Now requires Perl-Critic-1.052+
0.01 2007-04-12
Beta release.