Home
last modified time | relevance | path

Searched refs:hasCondition (Results 1 – 13 of 13) sorted by relevance

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
H A DFunctionClosingBraceSpaceSniff.php101 if ($phpcsFile->hasCondition($stackPtr, T_FUNCTION) === true
102 || $phpcsFile->hasCondition($stackPtr, T_CLOSURE) === true
H A DSuperfluousWhitespaceSniff.php234 if (($phpcsFile->hasCondition($stackPtr, T_FUNCTION) === true
235 || $phpcsFile->hasCondition($stackPtr, T_CLOSURE) === true)
H A DControlStructureSpacingSniff.php278 && ($phpcsFile->hasCondition($stackPtr, T_FUNCTION) === true
279 || $phpcsFile->hasCondition($stackPtr, T_CLOSURE) === true
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Scope/
H A DMethodScopeSniff.php65 if ($phpcsFile->hasCondition($stackPtr, T_FUNCTION) === true) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/
H A DIncludeSystemSniff.php145 if ($phpcsFile->hasCondition($stackPtr, T_CLASS) === true) {
169 if ($phpcsFile->hasCondition($stackPtr, T_CLASS) === true) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
H A DClosingDeclarationCommentSniff.php78 if ($phpcsFile->hasCondition($stackPtr, T_INTERFACE) === true) {
H A DFunctionCommentThrowTagSniff.php94 if ($phpcsFile->hasCondition($currPos, T_CLOSURE) === false) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/NamingConventions/
H A DUpperCaseConstantNameSniff.php61 if ($phpcsFile->hasCondition($stackPtr, T_START_HEREDOC) === true) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Classes/
H A DSelfMemberReferenceSniff.php101 if ($phpcsFile->hasCondition($stackPtr, T_CLOSURE) === false) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/NamingConventions/
H A DValidVariableNameSniff.php119 … $inClass = $phpcsFile->hasCondition($stackPtr, array(T_CLASS, T_INTERFACE, T_TRAIT));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Zend/Sniffs/NamingConventions/
H A DValidVariableNameSniff.php125 … $inClass = $phpcsFile->hasCondition($stackPtr, array(T_CLASS, T_INTERFACE, T_TRAIT));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Namespaces/
H A DUseDeclarationSniff.php207 if ($phpcsFile->hasCondition($stackPtr, array(T_CLASS, T_TRAIT)) === true) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/
H A DFile.php3648 public function hasCondition($stackPtr, $types) function in PHP_CodeSniffer_File