/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/ |
H A D | GlobalKeywordSniff.php | 50 * @param int $stackPtr The position of the current token in the 55 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 59 $nextVar = $tokens[$phpcsFile->findNext(array(T_VARIABLE), $stackPtr)]; 63 $phpcsFile->addError($error, $stackPtr, 'NotAllowed', $data);
|
H A D | DisallowSizeFunctionsInLoopsSniff.php | 75 * @param int $stackPtr The position of the current token 80 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 84 $openBracket = $tokens[$stackPtr]['parenthesis_opener']; 85 $closeBracket = $tokens[$stackPtr]['parenthesis_closer']; 87 if ($tokens[$stackPtr]['code'] === T_FOR) {
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/ |
H A D | EmptyCatchCommentSniff.php | 50 * @param int $stackPtr The position of the current token in the 55 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 59 $scopeStart = $tokens[$stackPtr]['scope_opener']; 60 …$firstContent = $phpcsFile->findNext(T_WHITESPACE, ($scopeStart + 1), $tokens[$stackPtr]['scope_cl…
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Operators/ |
H A D | ValidLogicalOperatorsSniff.php | 54 * @param int $stackPtr The position of the current token in the 59 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 68 $operator = strtolower($tokens[$stackPtr]['content']); 78 $phpcsFile->addError($error, $stackPtr, 'NotAllowed', $data);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/ |
H A D | EmptyClassDefinitionSniff.php | 55 * @param int $stackPtr The position in the stack where 60 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 63 … $next = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 1), null, true); 67 $phpcsFile->addError($error, $stackPtr, 'Found');
|
H A D | DisallowMultipleStyleDefinitionsSniff.php | 55 * @param int $stackPtr The position in the stack where 60 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 63 $next = $phpcsFile->findNext(T_STYLE, ($stackPtr + 1)); 73 if ($tokens[$next]['line'] === $tokens[$stackPtr]['line']) {
|
H A D | DuplicateStyleDefinitionSniff.php | 55 * @param int $stackPtr The position in the stack where 60 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 67 $next = $stackPtr; 68 $end = $tokens[$stackPtr]['bracket_closer'];
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Functions/ |
H A D | LowercaseFunctionKeywordsSniff.php | 56 * @param int $stackPtr The position of the current token in 61 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 65 $content = $tokens[$stackPtr]['content']; 73 $phpcsFile->addError($error, $stackPtr, 'FoundUppercase', $data);
|
H A D | FunctionDuplicateArgumentSniff.php | 50 * @param int $stackPtr The position of the current token 55 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 59 $openBracket = $tokens[$stackPtr]['parenthesis_opener']; 60 $closeBracket = $tokens[$stackPtr]['parenthesis_closer'];
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/Objects/ |
H A D | DisallowNewWidgetSniff.php | 46 * @param int $stackPtr The position of the current token 51 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 55 $className = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true); 64 $phpcsFile->addError($error, $stackPtr, 'Found', $data);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Commenting/ |
H A D | FixmeSniff.php | 60 * @param int $stackPtr The position of the current token 65 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 69 $content = $tokens[$stackPtr]['content']; 85 $phpcsFile->addError($error, $stackPtr, $type, $data);
|
H A D | TodoSniff.php | 58 * @param int $stackPtr The position of the current token 63 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 67 $content = $tokens[$stackPtr]['content']; 83 $phpcsFile->addWarning($error, $stackPtr, $type, $data);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Zend/Sniffs/Files/ |
H A D | ClosingTagSniff.php | 50 * @param int $stackPtr The position of the current token in 55 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 72 $phpcsFile->recordMetric($stackPtr, 'PHP closing tag at EOF', 'yes'); 74 $phpcsFile->recordMetric($stackPtr, 'PHP closing tag at EOF', 'no');
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/CodeAnalysis/ |
H A D | UnnecessaryFinalModifierSniff.php | 60 * @param int $stackPtr The position of the current token 65 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 68 $token = $tokens[$stackPtr]; 76 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true…
|
H A D | UselessOverridingMethodSniff.php | 59 * @param int $stackPtr The position of the current token 64 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 67 $token = $tokens[$stackPtr]; 75 $methodName = $phpcsFile->getDeclarationName($stackPtr); 79 foreach ($phpcsFile->getMethodParameters($stackPtr) as $param) { 166 … $phpcsFile->addWarning('Possible useless method overriding detected', $stackPtr, 'Found');
|
H A D | ForLoopShouldBeWhileLoopSniff.php | 60 * @param int $stackPtr The position of the current token 65 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 68 $token = $tokens[$stackPtr]; 96 $phpcsFile->addWarning($error, $stackPtr, 'CanSimplify');
|
H A D | UnconditionalIfStatementSniff.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]; 98 $phpcsFile->addWarning($error, $stackPtr, 'Found');
|
H A D | EmptyStatementSniff.php | 72 * @param int $stackPtr The position of the current token 77 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 80 $token = $tokens[$stackPtr]; 101 $phpcsFile->addError($error, $stackPtr, 'Detected'.$name, array($name));
|
H A D | ForLoopWithTestFunctionCallSniff.php | 63 * @param int $stackPtr The position of the current token 68 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 71 $token = $tokens[$stackPtr]; 103 $phpcsFile->addWarning($error, $stackPtr, 'NotAllowed');
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/VersionControl/ |
H A D | SubversionPropertiesSniff.php | 62 * @param int $stackPtr The position of the current token 67 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 73 $prevOpenTag = $phpcsFile->findPrevious(T_OPEN_TAG, ($stackPtr - 1)); 95 $phpcsFile->addError($error, $stackPtr, 'Unexpected', $data); 107 $phpcsFile->addError($error, $stackPtr, 'Missing', $data); 120 $phpcsFile->addError($error, $stackPtr, 'NoMatch', $data);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Objects/ |
H A D | ObjectInstantiationSniff.php | 50 * @param int $stackPtr The position in the stack where 55 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 62 $prev = $phpcsFile->findPrevious($allowedTokens, ($stackPtr - 1), null, true); 75 $phpcsFile->addError($error, $stackPtr, 'NotAssigned');
|
H A D | DisallowObjectStringIndexSniff.php | 53 * @param int $stackPtr The position of the current token 58 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 63 $index = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true); 87 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/PHP/ |
H A D | ReturnFunctionValueSniff.php | 46 * @param int $stackPtr The position of the current token in 51 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 55 $functionName = $phpcsFile->findNext(T_STRING, ($stackPtr + 1), null, false, null, true); 67 $phpcsFile->addWarning($error, $stackPtr, 'NotAssigned');
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/CSS/ |
H A D | BrowserSpecificStylesSniff.php | 72 * @param int $stackPtr The position in the stack where 77 public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) argument 90 $content = $tokens[$stackPtr]['content']; 94 $phpcsFile->addError($error, $stackPtr, 'ForbiddenStyle');
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/PHP/ |
H A D | DeprecatedFunctionsSniff.php | 73 * @param int $stackPtr The position of the forbidden function 80 protected function addError($phpcsFile, $stackPtr, $function, $pattern=null) argument 87 $phpcsFile->addError($error, $stackPtr, $type, $data); 89 $phpcsFile->addWarning($error, $stackPtr, $type, $data);
|