Skip to content

Commit

Permalink
do not use $a and $b in synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
plicease committed Jan 10, 2025
1 parent db06afb commit 2f9ea58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Revision history for {{$dist->name}}

{{$NEXT}}
- Documentation improvements (gh#12, gh#13)

0.09 2024-12-27 16:09:09 -0700
- (ProhibitSignaturesAndAtUnderscore) Do not detect @_ inside nested sub (gh#10, gh#11)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ use base qw( Perl::Critic::Policy );

=head1 SYNOPSIS
sub foo ($$) { my($a,$b) = @_; } # ok
use experimental qw( signatures ); foo ($a, $b) { my($c,$d) = @_; } # not ok
sub foo ($$) { my($x,$y) = @_; } # ok
use experimental qw( signatures ); foo ($x, $y) { my($c,$d) = @_; } # not ok
=head1 DESCRIPTION
Expand Down

0 comments on commit 2f9ea58

Please sign in to comment.