Add perlcritic capability to violations method since new jenkins-violation plugin already have support for it