PHP 클래스 SlevomatCodingStandard\Sniffs\Namespaces\ReferenceUsedNamesOnlySniff

상속: implements PHP_CodeSniffer_Sniff
파일 보기 프로젝트 열기: slevomat/coding-standard

공개 프로퍼티들

프로퍼티 타입 설명
$allowFullyQualifiedExceptions boolean
$allowPartialUses boolean
$fullyQualifiedKeywords string[]
$ignoredNames string[]
$namespacesRequiredToUse string[] | null If null, all namespaces are required to be used
$specialExceptionNames string[]

공개 메소드들

메소드 설명
process ( PHP_CodeSniffer_File $phpcsFile, integer $openTagPointer )
register ( ) : integer[]

비공개 메소드들

메소드 설명
getFullyQualifiedKeywords ( ) : string[]
getIgnoredNames ( ) : string[]
getNamespacesRequiredToUse ( ) : string[]
getSpecialExceptionNames ( ) : string[]
isClassRequiredToBeUsed ( string $name ) : boolean

메소드 상세

process() 공개 메소드

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

register() 공개 메소드

public register ( ) : integer[]
리턴 integer[]

프로퍼티 상세

$allowFullyQualifiedExceptions 공개적으로 프로퍼티

public bool $allowFullyQualifiedExceptions
리턴 boolean

$allowPartialUses 공개적으로 프로퍼티

public bool $allowPartialUses
리턴 boolean

$fullyQualifiedKeywords 공개적으로 프로퍼티

public string[] $fullyQualifiedKeywords
리턴 string[]

$ignoredNames 공개적으로 프로퍼티

public string[] $ignoredNames
리턴 string[]

$namespacesRequiredToUse 공개적으로 프로퍼티

If null, all namespaces are required to be used
public string[]|null $namespacesRequiredToUse
리턴 string[] | null

$specialExceptionNames 공개적으로 프로퍼티

public string[] $specialExceptionNames
리턴 string[]