Home
last modified time | relevance | path

Searched refs:findPrevious (Results 1 – 25 of 102) sorted by relevance

12345

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Formatting/
H A DOperatorBracketSniff.php85 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true…
92 $previous = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
112 … $previousToken = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true, null, true);
154 $prevToken = $phpcsFile->findPrevious(T_WHITESPACE, ($bracket - 1), null, true);
238 $squareBracket = $phpcsFile->findPrevious($brackets, ($stackPtr - 1), $lastBracket);
249 …$lastAssignment = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$assignmentTokens, $stackPtr, n…
353 … $after = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($after - 1), null, true);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Commenting/
H A DFunctionCommentSniff.php55 $commentEnd = $phpcsFile->findPrevious($find, ($stackPtr - 1), null, true);
74 … $prev = $phpcsFile->findPrevious(array(T_DOC_COMMENT_STRING, T_DOC_COMMENT_TAG), ($tag - 1));
82 … $prev = $phpcsFile->findPrevious(array(T_DOC_COMMENT_STRING, T_DOC_COMMENT_TAG), ($tag - 1));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
H A DMemberVarSpacingSniff.php53 $prev = $phpcsFile->findPrevious($ignore, ($stackPtr - 1), null, true);
56 …$prevContent = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($prev - 1), null, t…
99 … $first = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($start - 1), null, true);
103 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($first - 1), null, t…
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/
H A DCallTimePassByReferenceSniff.php65 $prev = $phpcsFile->findPrevious($findTokens, ($stackPtr - 1), null, true);
121 $tokenBefore = $phpcsFile->findPrevious(
130 $tokenBefore = $phpcsFile->findPrevious(
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/
H A DDisallowSelfActionsSniff.php56 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
78 … $funcScope = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$scopeModifiers, ($i - 1));
86 $prevToken = $phpcsFile->findPrevious(T_WHITESPACE, ($i - 1), null, true);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Strings/
H A DJoinStringsSniff.php66 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true…
71 … $prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($prev - 1), null, true);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Objects/
H A DAssignThisSniff.php72 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
78 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($prev - 1), null, true);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
H A DPostStatementCommentSniff.php74 $lastContent = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
88 $lastContent = $phpcsFile->findPrevious(T_WHITESPACE, ($lastContent - 1), null, true);
H A DInlineCommentSniff.php124 $prevToken = $phpcsFile->findPrevious(
152 $previousContent = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
162 … $lastContent = $phpcsFile->findPrevious(T_WHITESPACE, ($previousContent - 1), null, true);
237 …while (($topComment = $phpcsFile->findPrevious(array(T_COMMENT), ($lastComment - 1), null, false))…
H A DFunctionCommentThrowTagSniff.php64 $previousThrow = $phpcsFile->findPrevious(T_THROW, ($stackPtr - 1), $currScope);
74 $commentEnd = $phpcsFile->findPrevious($find, ($currScope - 1), null, true);
146 $catch = $phpcsFile->findPrevious(
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/
H A DDisallowSizeFunctionsInLoopsSniff.php90 $end = $phpcsFile->findPrevious(T_SEMICOLON, ($closeBracket - 1));
103 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($i - 1), null, true);
H A DDisallowMultipleAssignmentsSniff.php61 …$function = $phpcsFile->findPrevious(array(T_FUNCTION, T_CLOSURE), ($stackPtr - 1), null, false, n…
126 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($varToken - 1), null, true);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/
H A DClassDefinitionNameSpacingSniff.php79 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true…
100 $prev = $phpcsFile->findPrevious(T_WHITESPACE, $i, null, true);
H A DClassDefinitionClosingBraceSpaceSniff.php96 $found = $phpcsFile->findPrevious(
106 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true…
H A DDuplicateClassDefinitionSniff.php84 $prev = $phpcsFile->findPrevious($find, ($next - 1));
87 …$beforePrev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($prev - 1), null, tr…
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Formatting/
H A DMultiLineAssignmentSniff.php78 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), false, true);
103 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/PHP/
H A DAjaxNullComparisonSniff.php59 $commentEnd = $phpcsFile->findPrevious(T_DOC_COMMENT_CLOSE_TAG, $stackPtr);
60 $commentStart = $phpcsFile->findPrevious(T_DOC_COMMENT_OPEN_TAG, ($commentEnd - 1));
H A DEvalObjectFactorySniff.php80 while (($prev = $phpcsFile->findPrevious(T_VARIABLE, ($varPtr - 1))) !== false) {
83 $prevContent = $phpcsFile->findPrevious(T_WHITESPACE, ($prev - 1), null, true);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Classes/
H A DPropertyDeclarationSniff.php57 $prev = $phpcsFile->findPrevious($find, ($stackPtr - 1));
73 $modifier = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$scopeModifiers, $stackPtr);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/
H A DInlineIfDeclarationSniff.php73 $statementEnd = $phpcsFile->findPrevious(T_WHITESPACE, ($closeBracket - 1), null, true);
84 $contentBefore = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
134 $contentBefore = $phpcsFile->findPrevious(T_WHITESPACE, ($inlineElse - 1), null, true);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/ControlStructures/
H A DInlineControlStructureSniff.php100 $lastContent = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
116 $lastDo = $phpcsFile->findPrevious(T_DO, ($stackPtr - 1));
117 $lastSemicolon = $phpcsFile->findPrevious(T_SEMICOLON, ($stackPtr - 1));
119 … $precedingSemicolon = $phpcsFile->findPrevious(T_SEMICOLON, ($lastSemicolon - 1));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Operators/
H A DIncrementDecrementUsageSniff.php110 … $prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($start - 3), null, true);
137 $assignedVar = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
213 $negative = $phpcsFile->findPrevious(T_MINUS, ($nextNumber - 1), $stackPtr);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Arrays/
H A DArrayBracketSpacingSniff.php75 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($openBracket - 1), null, t…
83 …$nonSpace = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 2), null, …
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Namespaces/
H A DUseDeclarationSniff.php93 … $whitespace = $phpcsFile->findPrevious(T_WHITESPACE, ($next - 1), null, true);
116 … $whitespace = $phpcsFile->findPrevious(T_WHITESPACE, ($closingCurly - 1), null, true);
127 $prev = $phpcsFile->findPrevious(T_NAMESPACE, ($stackPtr - 1));
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/NamingConventions/
H A DUpperCaseConstantNameSniff.php90 $functionKeyword = $phpcsFile->findPrevious(
137 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);

12345