Debian Codegraph @

debian/NEWS

raw
1 libperl-critic-perl (1.096-1) unstable; urgency=low
2
3 From the upstream Changes:
4
5 [1.094] Released on 2009-01-01
6
7 Incompatible Changes:
8 * The way that "## no critic" markers was refactored. As
9 a result, we discovered that the syntax for the markers was pretty
10 vague. If you didn't do it just right, it would disable all policies,
11 and not just the specific ones that you wanted. So we've tightened this
12 up a bit. If you followed the examples that have been in the docs for
13 the last couple years, then you should be fine. But if you've been
14 using certain other variations in your "## no critic" markers, then you
15 might suddenly find yourself violating the new
16 ProhibtUnrestrictedNoCritic policy. To fix this, just make sure your
17 Policy names appear in parentheses:
18
19 ## no critic Foo, Bar, Baz # wrong!
20 ## no critic Foo Bar Baz # wrong!
21
22
23 ## no critic (Foo, Bar, Baz) # ok!
24 ## no critic qw(Foo Bar Baz) # also ok!
25
26 * The deprecated $FORMAT variables for Perl::Critic::Policy and
27 Perl::Critic::Violation no longer exist. Use the corresponding
28 get_format() and set_format() functions instead.
29
30 -- gregor herrmann <[email protected]> Thu, 12 Feb 2009 15:23:08 +0100