Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
PHP_CodeSniffer_File
setActiveListener
PHP_CodeSniffer_File::setActiveListener PHP Метод
Документация по классу PHP_CodeSniffer_File
Показать файл
Открыть проект
setActiveListener()
публичный
Метод
Sets the name of the currently active sniff.
public
setActiveListener
(
string
$activeListener
) :
void
$activeListener
string
The class name of the current sniff.
Результат
void
public function setActiveListener($activeListener) { $this->_activeListener = $activeListener; }
PHP_CodeSniffer_File
__construct
_addError
_addWarning
_createLevelMap
_createParenthesisNestingMap
_createPositionMap
_createScopeMap
_createTokenMap
_parse
_recurseScopeMap
addError
addErrorOnLine
addFixableError
addFixableWarning
addTokenListener
addWarning
addWarningOnLine
cleanUp
detectLineEndings
findEndOfStatement
findExtendedClassName
findFirstOnLine
findImplementedInterfaceNames
findNext
findPrevious
findStartOfStatement
getClassProperties
getCondition
getDeclarationName
getErrorCount
getErrors
getFilename
getFixableCount
getIgnoredLines
getMemberProperties
getMethodParameters
getMethodProperties
getMetrics
getSuccessCount
getTokens
getTokensAsString
getWarningCount
getWarnings
hasCondition
isAnonymousFunction
isReference
recordMetric
refreshTokenListeners
removeTokenListener
setActiveListener
start
tokenizeString