Skip to content

Commit

Permalink
Run perltidy on HashKeyQuotes.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpunk committed Feb 6, 2024
1 parent e0dcf66 commit 1fbfc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/perlcritic/Perl/Critic/Policy/HashKeyQuotes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sub violates ($self, $elem, $document) {
my $k = $elem->literal;
# skip anything that has a special symbol in the content
return () unless $k =~ m/^\w+$/;

# report violation
my $desc = q{Hash key with quotes};
my $expl = qq{Avoid useless quotes for key "$k"};
Expand Down

0 comments on commit 1fbfc52

Please sign in to comment.