/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Files/ |
H A D | LineEndingsSniff.php | 49 public $eolChar = '\n'; variable in Generic_Sniffs_Files_LineEndingsSniff 75 $found = $phpcsFile->eolChar; 81 if ($found === $this->eolChar) { 99 $expected = $this->eolChar; 112 switch ($this->eolChar) { 114 $eolChar = "\n"; 117 $eolChar = "\r"; 120 $eolChar = "\r\n"; 123 $eolChar = $this->eolChar; 139 $newContent .= $eolChar;
|
H A D | EndFileNoNewlineSniff.php | 74 $eolCharLen = strlen($phpcsFile->eolChar); 76 if ($lastChars === $phpcsFile->eolChar) {
|
H A D | EndFileNewlineSniff.php | 74 $eolCharLen = strlen($phpcsFile->eolChar); 76 if ($lastChars !== $phpcsFile->eolChar) {
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/ |
H A D | JS.php | 267 public function tokenizeString($string, $eolChar='\n') argument 298 $string = str_replace($eolChar, "\n", $string); 441 $eolChar 751 (strpos($tokenContent, $eolChar) + strlen($eolChar)) 757 (strpos($tokenContent, $eolChar) + strlen($eolChar)) 802 if (strpos($token['content'], $eolChar) !== false) { 813 $newToken['content'] .= $eolChar; 925 $eolChar => true, 959 if ($possibleEolChar === $eolChar) { 993 if ($possibleEolChar === $eolChar) { [all …]
|
H A D | Comment.php | 37 * @param string $eolChar The EOL character to use for splitting strings. 42 public function tokenizeString($string, $eolChar, $stackPtr) argument 98 $lines = explode($eolChar, $string); 102 $string .= $eolChar; 145 $lineTokens = $this->_processLine($string, $eolChar, $char, $numChars); 182 * @param string $eolChar The EOL character to use for splitting strings. 188 private function _processLine($string, $eolChar, $start, $end) argument 226 $eol = strpos($string, $eolChar, $start); 241 'content' => substr($string, $eol, strlen($eolChar)),
|
H A D | CSS.php | 47 * @param string $eolChar The EOL character to use for splitting strings. 51 public function tokenizeString($string, $eolChar='\n') argument 60 if (substr($string, (strlen($eolChar) * -1)) !== $eolChar) { 61 $string .= $eolChar; 67 $tokens = parent::tokenizeString('<?php '.$string.'?>', $eolChar); 190 $commentTokens = parent::tokenizeString('<?php '.$content.'?>', $eolChar); 500 (strlen($eolChar) * -1) 523 * @param string $eolChar The EOL character to use for splitting strings. 527 public function processAdditional(&$tokens, $eolChar) argument
|
H A D | PHP.php | 312 * @param string $eolChar The EOL character to use for splitting strings. 316 public function tokenizeString($string, $eolChar='\n') argument 466 $tokenLines = explode($eolChar, $tokenContent); 477 $newToken['content'] .= $eolChar; 549 $tokenLines = explode($eolChar, $tokenContent); 560 $newToken['content'] .= $eolChar; 955 if ($tokenIsArray === true && strpos($token[1], $eolChar) !== false) { 956 $tokenLines = explode($eolChar, $token[1]); 971 $newToken['content'] .= $eolChar; 1137 * @param string $eolChar The EOL character to use for splitting strings. [all …]
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/ |
H A D | ControlSignatureSniff.php | 85 if (strpos($tokens[($stackPtr + 1)]['content'], $phpcsFile->eolChar) !== false) { 122 $found = '"'.str_replace($phpcsFile->eolChar, '\n', $content).'"'; 198 $phpcsFile->fixer->addContent($opener, $phpcsFile->eolChar); 207 if (strpos($tokens[($closer + 1)]['content'], $phpcsFile->eolChar) !== false) { 256 if (strpos($tokens[($closer + 1)]['content'], $phpcsFile->eolChar) !== false) {
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/ |
H A D | File.php | 132 public $eolChar = ''; variable in PHP_CodeSniffer_File 776 if ($eolChar === "\n") { 779 $eolChar = "\r\n"; 785 $eolChar = "\n"; 790 $eolChar = "\n"; 796 return $eolChar; 1796 $eolChar argument 1867 $eolChar, 1898 $eolChar, argument 2031 $eolChar, [all …]
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/ |
H A D | ClosingDeclarationCommentSniff.php | 124 $phpcsFile->fixer->replaceToken($next, $comment.$phpcsFile->eolChar); 130 … $phpcsFile->fixer->replaceToken($closingBracket, '}'.$comment.$phpcsFile->eolChar); 140 … $phpcsFile->fixer->replaceToken(($closingBracket + 1), $comment.$phpcsFile->eolChar);
|
H A D | LongConditionClosingCommentSniff.php | 182 $expected .= $phpcsFile->eolChar; 208 $phpcsFile->fixer->replaceToken($comment, $expected.$phpcsFile->eolChar);
|
H A D | BlockCommentSniff.php | 154 $commentText = str_replace($phpcsFile->eolChar, '', $commentString); 177 $comment = '// '.$commentText.$phpcsFile->eolChar; 200 '$1'.$phpcsFile->eolChar.$indent,
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Classes/ |
H A D | ClassDeclarationSniff.php | 83 if ($prevContent !== $phpcsFile->eolChar) { 84 $blankSpace = substr($prevContent, strpos($prevContent, $phpcsFile->eolChar)); 169 if ($prevContent !== $phpcsFile->eolChar) { 170 $blankSpace = substr($prevContent, strpos($prevContent, $phpcsFile->eolChar));
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/ |
H A D | FunctionSpacingSniff.php | 121 … $phpcsFile->fixer->addContentBefore($i, str_repeat($phpcsFile->eolChar, $this->spacing)); 139 if (strpos($tokens[$i]['content'], $phpcsFile->eolChar) === false) { 227 $padding = str_repeat($phpcsFile->eolChar, ($this->spacing - $foundLines)); 236 … $phpcsFile->fixer->replaceToken($i, str_repeat($phpcsFile->eolChar, $this->spacing));
|
H A D | SuperfluousWhitespaceSniff.php | 174 && $tokens[$stackPtr]['content'] === $phpcsFile->eolChar 213 $tokenContent = rtrim($tokens[$stackPtr]['content'], $phpcsFile->eolChar); 218 … $phpcsFile->fixer->replaceToken($stackPtr, rtrim($tokenContent).$phpcsFile->eolChar);
|
H A D | ScopeKeywordSpacingSniff.php | 79 || $nextToken['content'] === $phpcsFile->eolChar
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Classes/ |
H A D | ClassDeclarationSniff.php | 124 if ($tokens[($curlyBrace + 1)]['content'] !== $phpcsFile->eolChar) { 134 if ($prevContent === $phpcsFile->eolChar) { 137 $blankSpace = substr($prevContent, strpos($prevContent, $phpcsFile->eolChar));
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Classes/ |
H A D | ClassDeclarationSniff.php | 80 if ($prevContent !== $phpcsFile->eolChar) { 81 $blankSpace = substr($prevContent, strpos($prevContent, $phpcsFile->eolChar)); 183 … $phpcsFile->fixer->substrToken($i, 0, (strlen($phpcsFile->eolChar) * -1)); 432 if (strpos($tokens[$prevContent]['content'], $phpcsFile->eolChar) === false) { 433 … $phpcsFile->fixer->replaceToken($closeBrace, $phpcsFile->eolChar.$tokens[$closeBrace]['content']); 443 if ($tokens[$nextContent]['content'] !== $phpcsFile->eolChar
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/ |
H A D | IndentationSniff.php | 115 $content = str_replace($phpcsFile->eolChar, '', $tokens[$i]['content']); 123 && strpos($tokens[$i]['content'], $phpcsFile->eolChar) !== false
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/ControlStructures/ |
H A D | ControlStructureSpacingSniff.php | 95 if (strpos($tokens[($parenOpener + 1)]['content'], $phpcsFile->eolChar) !== false) { 126 … $spaceBeforeClose = strlen(ltrim($tokens[($parenCloser - 1)]['content'], $phpcsFile->eolChar));
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Commenting/ |
H A D | DocCommentSniff.php | 215 … $phpcsFile->fixer->addContent($prev, $phpcsFile->eolChar.$indent.'*'.$phpcsFile->eolChar); 300 … $phpcsFile->fixer->addContent($prev, $phpcsFile->eolChar.$indent.'*'.$phpcsFile->eolChar);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/WhiteSpace/ |
H A D | ScopeClosingBraceSniff.php | 90 if (strpos($tokens[$lineStart]['content'], $phpcsFile->eolChar) !== false) { 134 if (strpos($tokens[$lineStart]['content'], $phpcsFile->eolChar) !== false) {
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/ |
H A D | CommentedOutCodeSniff.php | 127 $content .= $tokenContent.$phpcsFile->eolChar; 145 …okens = PHP_CodeSniffer_File::tokenizeString($content, $phpcsFile->tokenizer, $phpcsFile->eolChar);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Namespaces/ |
H A D | UseDeclarationSniff.php | 77 $phpcsFile->fixer->replaceToken($next, ';'.$phpcsFile->eolChar.'use '); 108 $phpcsFile->fixer->replaceToken($next, ';'.$phpcsFile->eolChar);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Files/ |
H A D | ClosingTagSniff.php | 78 $phpcsFile->fixer->replaceToken($last, $phpcsFile->eolChar);
|