PHP Class phpbb_Sniffs_Namespaces_UnusedUseSniff

Inheritance: implements PHP_CodeSniffer_Sniff
Afficher le fichier Open project: phpbb/phpbb

Méthodes publiques

Méthode Description
process ( PHP_CodeSniffer_File $phpcsFile, $stackPtr )
register ( )

Méthodes protégées

Méthode Description
check ( $phpcsFile, $found_name, $full_name, $short_name, $line )

Private Methods

Méthode Description
checkDocblock ( PHP_CodeSniffer_File $phpcsFile, $comment_end, array $tokens, string $class_name_full, string $class_name_short ) : boolean
should_ignore_use ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : boolean Check if this use statement is part of the namespace block.

Method Details

check() protected méthode

protected check ( $phpcsFile, $found_name, $full_name, $short_name, $line )

process() public méthode

public process ( PHP_CodeSniffer_File $phpcsFile, $stackPtr )
$phpcsFile PHP_CodeSniffer_File

register() public méthode

public register ( )