Subject: | Violation->new() in RequireTrailingCommas.pm |
Hi,
when running Test::Perl::Critic against my code, I get following error message.
# Failed test 'blib/lib/Biomax/My/Module.pm'
# in /BioInformatics/soft/perl/lib/site_perl/5.8.0/Test/Perl/Critic.pm at line 83.
#
# Perl::Critic had errors in 'blib/lib/Biomax/My/Module.pm':
# 3rd arg to Violation->new() must be ARRAY ref at /BioInformatics/soft/perl/lib/site_perl/5.8.0/Perl/Critic/Policy/CodeLayout/RequireTrailingCommas.pm line 34
I suppose that the same incorrect call of Violation->new() is lurking in
other rules as well.