Thursday 22nd December 2022
Fedora Project
Updated perl-Perl-Critic to 1.146 in Rawhide:
- 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
Local Packages
Updated perl-Data-Alias to 1.28:
- Fix compatibility with perl 5.37.3 and later
Fix support for state-variables (alias state $x = ...)
Fix handling of negative literal array index (alias $x[-1] = ...)
Updated perl-Perl-Critic to 1.146 as per the Fedora version