Automatic update for perl-Perl-Critic-1.142-1.fc38.
* Tue Nov 29 2022 Paul Howarth <paul@city-fan.org> - 1.142-1
- Update to 1.142 (rhbz#2149154)
- This is the last version of Perl::Critic that will run on Perl 5.6.1; the
next release will require Perl 5.10.1
New Features
- Add new policy InputOutput::ProhibitBarewordDirHandles, comparable to
ProhibitBarewordFilehanles (GH#912)
- References::ProhibitDoubleSigils policy now allows for Perl's postfix
dereference syntax and does not report a policy violation (GH#578)
- Added Test::Class::Moose and MooseX::MethodAttributes::Role to the list of
modules that are equivalent to "use strict" (GH#808, GH#886)
- Subroutines::RequireArgUnpacking now detects anonymous subroutines with
attributes, prototypes or signatures (GH#684)
- ProhibitVoidMap and ProhibitVoidGrep now detect void context inside subs
(GH#905), such as: sub { map { foo($_) } @list; return }
- RequireArgUnpacking now allows a closure to be recognized as a way that
subroutine arguments can be unpacked; this is specified with an optional
allow_closures configuration option (GH#737)
- ProhibitTwoArgOpen now disallows one-arg opens as well; also, it no longer
allows two-arg opening of STDIN/STDOUT/STDERR (GH#652, GH#653)
Fixes
- ProhibitLeadingZeros would not handle sysopen and lexical variables
correctly; this has been fixed (GH#789)
Documentation
- We note that the any() function is available in both List::MoreUtils and
List::SomeUtils
- Added instructions to perlcritic on how to integrate with Visual Studio
Code
Internals
- Switch to using List::SomeUtils instead of List::MoreUtils
- Use SPDX-format license tag
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2022-c73d2c50f6
Please login to add feedback.
This update was automatically created
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'ignored'.
This update has been submitted for stable by bodhi