Subject: | Fails when Perl::Critic::OTRS is installed |
As per subject. Admittedly, the OTRS plugin is a bit questionable. But
I'm not even sure that OTRS is the only Critic plugin that breaks your
test suite. I only noticed by chance that some of my smokers fail with
# Variable, subroutine, and package names have to be in CamelCase at
line 203, column 25. (no explanation). (Severity: 5)
# Variable, subroutine, and package names have to be in CamelCase at
line 203, column 32. (no explanation). (Severity: 5)
# Variable, subroutine, and package names have to be in CamelCase at
line 203, column 39. (no explanation). (Severity: 5)
These come from OTRS. But also
# Use of low precedence operators is not allowed at line 205, column 16.
Replace low precedence operators with the high precedence substitutes.
(Severity: 5)
I don't know, offhand, from which Critic module this is coming.
It seems the critic.t test is not critical enough against Perl::Critic
modules that happen to be installed on the current system. You should
probably not allow such a test to fail at all.
HTH, Thanks && Regards,