Changelog for
perl-Perl-Critic-1.150-1.fc38.noarch.rpm :
* Sun Mar 05 2023 Paul Howarth
- 1.150-1- Update to 1.150 (rhnz#2175475) Enhancements - Added Test::Builder and Text::Wrap to the list of default exceptions in Variables::ProhibitPackageVars (GH#1025) Internals - We now use PPIx::Utils instead of PPIx::Utilities, which is more recently maintained
* Fri Jan 20 2023 Fedora Release Engineering - 1.148-2- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Jan 08 2023 Paul Howarth - 1.148-1- Update to 1.148 (rhbz#2159041) Possible breakage - Removed Perl::Critic::Utils::DataConversion; any add-on policies that used it will need to copy the functions from there into their own code Documentation - ProhibitCascadingIfElse no longer suggests using given/when Internals - We no longer require Test::Deep for testing - Test::Kwalitee is now only recommended, not required - Random micro-optimizations, like using hashes for array contents checking, and using any() instead of calling grep as a boolean
* Thu Dec 22 2022 Paul Howarth - 1.146-1- Update to 1.146 (rhbz#2155727) New features - ProhibitBarewordDirHandles now checks for sysopen as well as open (GH#732) - Added a Dockerfile in the extras/ directory for those who want to run P::C in a container (GH#832) - Subroutines::ProhibitBuiltinHomonyms now can take an \"allows\" parameter to specify subroutines that won\'t violate the policy (GH#14, GH#932) - ProhibitStringyEval now allows package declarations in evals when allow_includes = true; this is a common way packages are declared (GH#908) Bug Fixes - Fixed some problems with how Perl::Critic determined scope (GH#793) - Fixed improper violation for lexical subroutines in Subroutines::ProhibitBuiltinHomonyms (GH#973, GH#955, GH#546) - ValuesAndExpressions::RequireNumberSeparators no longer complains if your version numbers do not have number separators in them (GH#856, GH#904) - Fixed a false positive with split() in ProhibitUnusedCapture (GH#888) Internals - We no longer use or need IO::String (GH#997) - Removed requirements and mentions of modules no longer used: - Fatal - IO::String - IPC::Open2 - Pod::Parser - Task::Weaken
* Tue Dec 06 2022 Paul Howarth - 1.144-1- Update to 1.144 (rhbz#2151095) - Perl::Critic now requires Perl 5.10.1 New features - The ProhibitAugmentedAssignmentInDeclaration policy now allows augmented assignments to \"our\" variables, if the allow_our option is enabled (GH#993) - ProhibitExplicitISA now recommends \"use parent\" instead of \"use base\" (GH#987) - RequireUseWarnings now recognizes that \"use v5.36\" implies warnings (GH#984) - Subroutines::ProhibitNestedSubs now allows that lexical subroutines can be inside other subroutines (GH#946, GH#971, GH#972) - RequireUseStrict now knows that Test::Spec enables it (GH#906) - ProhibitUnusedCapture now understands AATT{^CAPTURE} and %{^CAPTURE_ALL} that were added in Perl 5.26.0 (GH#778) - Allow numeric operators on special number strings \'NaN\' and \'inf\' (GH#803) Fixes - Miscellanea::ProhibitUselessNoCritic no longer filters out errors about itself, just as Miscellanea::ProhibitUnrestrictedNoCritic cannot (GH#939) - Fixed GH#878: bareword filehandle dies on \"open(CHECK, \'/foo\');\" Internals - Updated to using Perl 5.10.1; starting migrating to Perl 5.10-isms like defined-or Documentation - Updated some outdated docs in Perl::Critic::Utils (GH#951)
* Tue Nov 29 2022 Paul Howarth - 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 ProhibitBarewordFilehandles (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($_) } AATTlist; 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
* Fri Jul 22 2022 Fedora Release Engineering - 1.140-8- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 03 2022 Jitka Plesnikova - 1.140-7- Perl 5.36 re-rebuild of bootstrapped packages
* Wed Jun 01 2022 Jitka Plesnikova - 1.140-6- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering - 1.140-5- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering - 1.140-4- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 24 2021 Jitka Plesnikova - 1.140-3- Perl 5.34 re-rebuild of bootstrapped packages
* Sat May 22 2021 Jitka Plesnikova - 1.140-2- Perl 5.34 rebuild
* Wed Mar 24 2021 Paul Howarth - 1.140-1- Update to 1.140 - Subroutines::RequireFinalReturn now lets you specify a terminal_methods parameter to specify methods that should be seen as terminal; this is like the terminal_funcs parameter, but for methods (GH#920) - Removed an extra /x in RequireInterpolationOfMetachars.pm that caused deprecation warnings in Perl 5.22 and higher (GH#822) - Documentation::RequirePackageMatchesPodName now recognizes the package name if it\'s in \'I<>\' or \'B<>\' markup (GH#913)- Use %license unconditionally