https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8084
Bug ID: 8084
Summary: t/perlcritic.t test fails with
InputOutput::ProhibitBarewordDirHandles
Product: Spamassassin
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Regression Tests
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
Perl::Critic version 1.142, released last month, introduced a new policy
InputOutput::ProhibitBarewordDirHandles that causes test t/perlcritic.pl to
fail due to several places in the code that use a bare word file handle for a
directory, for example in ArchiveIterator.pm 'opendir(DIR, $folder)'
Similar to what we did for bug 8002 we can add
InputOutput::ProhibitBarewordDirHandles to the exclude list in t/perlcritic.pl
to suppress the error. If we decide to fix the code to not use bare words for
dir handles, we can then remove the exclusion.
As this is a change to a test with no code change, it can be committed for the
4.0.0 release without an R-T-C vote.
--
You are receiving this mail because:
You are the assignee for the bug.