/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Files/ |
H A D | EndFileNewlineSniff.php | 48 * @param int $stackPtr The position of the current token in 53 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 55 if ($phpcsFile->findNext(T_INLINE_HTML, ($stackPtr + 1)) !== false) { 76 $phpcsFile->recordMetric($stackPtr, 'Number of newlines at EOF', '0'); 92 $phpcsFile->recordMetric($stackPtr, 'Number of newlines at EOF', $blankLines);
|
H A D | ClosingTagSniff.php | 48 * @param int $stackPtr The position of the current token in 53 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 89 $phpcsFile->recordMetric($stackPtr, 'PHP closing tag at end of PHP-only file', 'yes'); 91 $phpcsFile->recordMetric($stackPtr, 'PHP closing tag at end of PHP-only file', 'no');
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/ControlStructures/ |
H A D | MultiLineConditionSniff.php | 68 * @param int $stackPtr The position of the current token 73 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 77 if (isset($tokens[$stackPtr]['parenthesis_opener']) === false) { 81 $openBracket = $tokens[$stackPtr]['parenthesis_opener']; 82 $closeBracket = $tokens[$stackPtr]['parenthesis_closer']; 107 for ($i = ($stackPtr - 1); $i >= 0; $i--) { 108 if ($tokens[$i]['line'] !== $tokens[$stackPtr]['line']) { 227 if (isset($tokens[$stackPtr]['scope_opener']) === false) { 232 $openBrace = $tokens[$stackPtr]['scope_opener'];
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Channels/ |
H A D | DisallowSelfActionsSniff.php | 46 * @param int $stackPtr The position of the current token in 51 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 56 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true); 62 $classNameToken = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true); 72 $classEnd = $tokens[$stackPtr]['scope_closer'];
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Methods/ |
H A D | FunctionClosingBraceSniff.php | 51 * @param int $stackPtr The position of the current token 56 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 60 if (isset($tokens[$stackPtr]['scope_closer']) === false) { 65 $closeBrace = $tokens[$stackPtr]['scope_closer'];
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/ |
H A D | DisallowInlineIfSniff.php | 60 * @param int $stackPtr The position of the current token 65 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 67 $phpcsFile->addError('Inline IF statements are not allowed', $stackPtr, 'Found');
|
H A D | EvalSniff.php | 50 * @param int $stackPtr The position of the current token in 55 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 58 $phpcsFile->addWarning($error, $stackPtr, 'Discouraged');
|
H A D | HeredocSniff.php | 53 * @param int $stackPtr The position of the current token in the 58 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 61 $phpcsFile->addError($error, $stackPtr, 'NotAllowed');
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/PHP/ |
H A D | BacktickOperatorSniff.php | 50 * @param int $stackPtr The position of the current token 55 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 58 $phpcsFile->addError($error, $stackPtr, 'Found');
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/ |
H A D | LowercaseStyleDefinitionSniff.php | 55 * @param int $stackPtr The position in the stack where 60 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 63 $start = ($stackPtr + 1); 64 $end = ($tokens[$stackPtr]['bracket_closer'] - 1);
|
H A D | OpacitySniff.php | 55 * @param int $stackPtr The position in the stack where 60 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 64 if ($tokens[$stackPtr]['content'] !== 'opacity') { 68 $next = $phpcsFile->findNext(array(T_COLON, T_WHITESPACE), ($stackPtr + 1), null, true);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/ |
H A D | FunctionCommentSniff.php | 47 * @param int $stackPtr The position of the current token 53 protected function processReturn(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $commentStart) argument 58 $methodName = $phpcsFile->getDeclarationName($stackPtr); 124 if (isset($tokens[$stackPtr]['scope_closer']) === true) { 125 $endToken = $tokens[$stackPtr]['scope_closer']; 155 if (isset($tokens[$stackPtr]['scope_closer']) === true) { 156 $endToken = $tokens[$stackPtr]['scope_closer']; 183 * @param int $stackPtr The position of the current token 252 * @param int $stackPtr The position of the current token 360 $realParams = $phpcsFile->getMethodParameters($stackPtr); [all …]
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/CodeAnalysis/ |
H A D | JumbledIncrementerSniff.php | 67 * @param int $stackPtr The position of the current token 72 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 75 $token = $tokens[$stackPtr]; 105 $phpcsFile->addWarning($error, $stackPtr, 'Found', $data);
|
H A D | UnusedFunctionParameterSniff.php | 57 * @param int $stackPtr The position of the current token 62 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 65 $token = $tokens[$stackPtr]; 73 foreach ($phpcsFile->getMethodParameters($stackPtr) as $param) { 74 $params[$param['name']] = $stackPtr;
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Files/ |
H A D | OneInterfacePerFileSniff.php | 46 * @param int $stackPtr The position of the current token in 51 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 53 $nextInterface = $phpcsFile->findNext($this->register(), ($stackPtr + 1));
|
H A D | OneTraitPerFileSniff.php | 46 * @param int $stackPtr The position of the current token in 51 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 53 $nextClass = $phpcsFile->findNext($this->register(), ($stackPtr + 1));
|
H A D | OneClassPerFileSniff.php | 46 * @param int $stackPtr The position of the current token in 51 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 53 $nextClass = $phpcsFile->findNext($this->register(), ($stackPtr + 1));
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting/ |
H A D | FileCommentSniff.php | 101 * @param int $stackPtr The position of the current token 106 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 111 $commentStart = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true); 131 $errorToken = ($stackPtr + 1); 142 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'yes'); 148 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'no'); 178 $phpcsFile->addError('Missing file doc comment', $stackPtr, 'Missing'); 179 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'no'); 183 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'yes'); 204 $this->processTags($phpcsFile, $stackPtr, $commentStart); [all …]
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/PHP/ |
H A D | EvalObjectFactorySniff.php | 46 * @param int $stackPtr The position of the current token in 51 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 60 $openBracket = $phpcsFile->findNext(T_OPEN_PARENTHESIS, ($stackPtr + 1)); 117 $phpcsFile->addWarning($error, $stackPtr, 'Found');
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Commenting/ |
H A D | FunctionCommentSniff.php | 42 * @param int $stackPtr The position of the current token 47 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 49 parent::process($phpcsFile, $stackPtr); 55 $commentEnd = $phpcsFile->findPrevious($find, ($stackPtr - 1), null, true);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Objects/ |
H A D | ObjectMemberCommaSniff.php | 55 * @param int $stackPtr The position in the stack where 60 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 64 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true…
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/ |
H A D | JS.php | 727 for ($stackPtr = 0; $stackPtr < $numTokens; $stackPtr++) { 728 $token = $tokens[$stackPtr]; 749 $tokens[$stackPtr]['content'] = substr( 765 $stackPtr--; 771 $stackPtr++; 773 if (isset($tokens[$stackPtr]) === false) { 831 $oldStackPtr = $stackPtr; 833 $newContent .= $tokens[$stackPtr]['content']; 834 $stackPtr++; 847 $stackPtr--; [all …]
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/ |
H A D | CallTimePassByReferenceSniff.php | 51 * @param int $stackPtr The position of the current token 56 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 65 $prev = $phpcsFile->findPrevious($findTokens, ($stackPtr - 1), null, true); 78 $functionName = $stackPtr;
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Objects/ |
H A D | CreateWidgetTypeCallbackSniff.php | 53 * @param int $stackPtr The position of the current token 58 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 62 $className = $phpcsFile->findPrevious(T_STRING, ($stackPtr - 1)); 68 …$create = $phpcsFile->findNext(T_PROPERTY, $stackPtr, $tokens[$stackPtr]['bracket_closer'], null, …
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Functions/ |
H A D | FunctionDeclarationArgumentSpacingSniff.php | 74 * @param int $stackPtr The position of the current token in the 79 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 83 if (isset($tokens[$stackPtr]['parenthesis_opener']) === false 84 || isset($tokens[$stackPtr]['parenthesis_closer']) === false 85 || $tokens[$stackPtr]['parenthesis_opener'] === null 86 || $tokens[$stackPtr]['parenthesis_closer'] === null 95 $openBracket = $tokens[$stackPtr]['parenthesis_opener']; 98 if ($tokens[$stackPtr]['code'] === T_CLOSURE) { 99 …Next(T_USE, ($tokens[$openBracket]['parenthesis_closer'] + 1), $tokens[$stackPtr]['scope_opener']);
|