PHP Class SlevomatCodingStandard\Sniffs\Namespaces\FullyQualifiedClassNameAfterKeywordSniff

Inheritance: implements PHP_CodeSniffer_Sniff
Afficher le fichier Open project: slevomat/coding-standard

Méthodes publiques

Свойство Type Description
$keywordsToCheck string[] Token types as a strings (e.g. "T_IMPLEMENTS")

Méthodes publiques

Méthode Description
getErrorCode ( string $keyword ) : string
process ( PHP_CodeSniffer_File $phpcsFile, integer $keywordPointer )
register ( ) : integer[]

Private Methods

Méthode Description
checkReferencedName ( PHP_CodeSniffer_File $phpcsFile, integer $keywordPointer, integer $nameStartPointer ) : integer
getKeywordsToCheck ( ) : string[]

Method Details

getErrorCode() public static méthode

public static getErrorCode ( string $keyword ) : string
$keyword string
Résultat string

process() public méthode

public process ( PHP_CodeSniffer_File $phpcsFile, integer $keywordPointer )
$phpcsFile PHP_CodeSniffer_File
$keywordPointer integer

register() public méthode

public register ( ) : integer[]
Résultat integer[]

Property Details

$keywordsToCheck public_oe property

Token types as a strings (e.g. "T_IMPLEMENTS")
public string[] $keywordsToCheck
Résultat string[]