Login
Delete dead code from NamingConventions::ProhibitAmbiguousNames.
authorElliot Shank <perl@galumph.com>
Tue, 14 Oct 2008 00:48:48 +0000 (00:48 +0000)
committerElliot Shank <perl@galumph.com>
Tue, 14 Oct 2008 00:48:48 +0000 (00:48 +0000)
lib/Perl/Critic/Policy/NamingConventions/ProhibitAmbiguousNames.pm

index ccce275..db21595 100644 (file)
@@ -44,10 +44,6 @@ sub applies_to       { return qw(PPI::Statement::Sub
 
 #-----------------------------------------------------------------------------
 
-sub default_forbidden_words { return words_from_string( $DEFAULT_FORBID ) }
-
-#-----------------------------------------------------------------------------
-
 sub violates {
     my ( $self, $elem, undef ) = @_;
 
@@ -153,19 +149,6 @@ C<$HOME/.perlcriticrc>:
     forbid = last set left right no abstract contract record second close
 
 
-=head1 METHODS
-
-=over
-
-=item default_forbidden_words()
-
-This can be called as a class or instance method.  It returns the list
-of words that are forbidden by default.
-
-
-=back
-
-
 =head1 BUGS
 
 Currently this policy checks the entire variable and subroutine name,