| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Files/ |
| 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;
|
| D | EndFileNewlineSniff.php | 74 $eolCharLen = strlen($phpcsFile->eolChar); 76 if ($lastChars !== $phpcsFile->eolChar) {
|
| D | EndFileNoNewlineSniff.php | 74 $eolCharLen = strlen($phpcsFile->eolChar); 76 if ($lastChars === $phpcsFile->eolChar) {
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/ |
| D | JS.php | 263 * @param string $eolChar The EOL character to use for splitting strings. 267 public function tokenizeString($string, $eolChar='\n') argument 298 $string = str_replace($eolChar, "\n", $string); 327 'content' => str_replace("\n", $eolChar, $buffer), 348 'content' => str_replace("\n", $eolChar, $buffer), 380 'content' => str_replace("\n", $eolChar, $buffer).$char, 441 $eolChar 551 $newContent = substr(str_replace("\n", $eolChar, $buffer), 0, -1); 680 'content' => str_replace("\n", $eolChar, $buffer), 703 'content' => str_replace("\n", $eolChar, $buffer), [all …]
|
| 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)),
|
| 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
|
| D | PHP.php | 312 * @param string $eolChar The EOL character to use for splitting strings. 316 public function tokenizeString($string, $eolChar='\n') argument 406 … $commentTokens = $commentTokenizer->tokenizeString($token[1], $eolChar, $newStackPtr); 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; [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/ |
| D | File.php | 132 public $eolChar = ''; variable in PHP_CodeSniffer_File 453 $this->eolChar = self::detectLineEndings($this->_file, $contents); 467 $eolPos = strpos($contents, $this->eolChar); 469 $contents = substr($contents, ($eolPos + strlen($this->eolChar))); 701 …$this->_tokens = self::tokenizeString($contents, $tokenizer, $this->eolChar, $tabWidth, $encoding); 722 $contents = str_replace($this->eolChar, '', $contents); 775 $eolChar = substr($firstLine, -1); 776 if ($eolChar === "\n") { 779 $eolChar = "\r\n"; 781 } else if ($eolChar !== "\r") { [all …]
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/ |
| 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/Standards/Squiz/Sniffs/Commenting/ |
| 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);
|
| D | LongConditionClosingCommentSniff.php | 182 $expected .= $phpcsFile->eolChar; 208 $phpcsFile->fixer->replaceToken($comment, $expected.$phpcsFile->eolChar);
|
| 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/WhiteSpace/ |
| 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));
|
| 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);
|
| D | ScopeKeywordSpacingSniff.php | 79 || $nextToken['content'] === $phpcsFile->eolChar
|
| /plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Classes/ |
| 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/PEAR/Sniffs/Classes/ |
| 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/ |
| 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/ |
| 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/ |
| 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/ |
| 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/ |
| 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/ |
| 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/ |
| 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/ |
| D | ClosingTagSniff.php | 78 $phpcsFile->fixer->replaceToken($last, $phpcsFile->eolChar);
|