Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Test-Perl-Critic-Policy | Distribution: Fedora Project |
Version: 1.152 | Vendor: Fedora Project |
Release: 4.fc40 | Build date: Mon Oct 21 13:30:08 2024 |
Group: Unspecified | Build host: buildvm-x86-04.iad2.fedoraproject.org |
Size: 16461 | Source RPM: perl-Perl-Critic-1.152-4.fc40.src.rpm |
Packager: Fedora Project | |
Url: https://metacpan.org/release/Perl-Critic | |
Summary: A framework for testing your custom Policies |
This module provides a framework for function-testing your custom Perl::Critic::Policy modules. Policy testing usually involves feeding it a string of Perl code and checking its behavior. In the old days, those strings of Perl code were mixed directly in the test script. That sucked.
GPL-1.0-or-later OR Artistic-1.0-Perl
* Mon Oct 21 2024 Petr Pisar <ppisar@redhat.com> - 1.152-4 - Require ExtUtils::Manifest for Perl::Critic::TestUtils::bundled_policy_names() * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.152-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.152-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 17 2023 Paul Howarth <paul@city-fan.org> - 1.152-1 - Update to 1.152 (rhbz#2244582) - Fix a test failure for Subroutines::RequireArgUnpacking (GH#1048) - Fix a test failure in t/06_violation.t on Perl 5.39.1 or above (GH#1037) * Mon Sep 25 2023 Paul Howarth <paul@city-fan.org> - 1.150-4 - Fix for Perl::Critic::Policy::Subroutines::RequireArgUnpacking with PPI 1.277 (GH#1048) * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.150-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 10 2023 Paul Howarth <paul@city-fan.org> - 1.150-2 - Use SPDX-format license tag for perl-Test-Perl-Critic-Policy sub-package - Avoid use of deprecated patch syntax * Sun Mar 05 2023 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.148-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Jan 08 2023 Paul Howarth <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 <paul@city-fan.org> - 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 @{^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 <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 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($_) } @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
/usr/share/man/man3/Test::Perl::Critic::Policy.3pm.gz /usr/share/perl5/vendor_perl/Test /usr/share/perl5/vendor_perl/Test/Perl /usr/share/perl5/vendor_perl/Test/Perl/Critic /usr/share/perl5/vendor_perl/Test/Perl/Critic/Policy.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Oct 30 05:59:25 2024