8 use Perl::Critic::Violation;
9 use Perl::Critic::Violation; # this is duplicated for test coverage of repeated calls to import()
11 # This file exists solely to test Perl::Critic::Violation::import()
15 This is a test diagnostic.
21 my $code = 'Hello World;';
22 my $doc = PPI::Document->new(\$code);
23 return Perl::Critic::Violation->new('', '', $doc, 0);
30 # cperl-indent-level: 4
32 # indent-tabs-mode: nil
33 # c-indentation-style: bsd
35 # ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :