Home
last modified time | relevance | path

Searched refs:openBracket (Results 1 – 25 of 150) sorted by relevance

123456

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Functions/
H A DMultiLineFunctionDeclarationSniff.php62 $bracketsToCheck = array($stackPtr => $openBracket);
75 foreach ($bracketsToCheck as $stackPtr => $openBracket) {
83 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
85 $end = $phpcsFile->findEndOfStatement($openBracket + 1);
130 $openBracket = $tokens[$stackPtr]['parenthesis_opener'];
131 $this->processBracket($phpcsFile, $openBracket, $tokens, 'function');
143 $this->processBracket($phpcsFile, $openBracket, $tokens, 'use');
175 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
178 if ($tokens[$openBracket]['line'] !== $tokens[$closeBracket]['line']) {
184 $phpcsFile->fixer->addNewline($openBracket);
[all …]
H A DFunctionDeclarationArgumentSpacingSniff.php95 $openBracket = $tokens[$stackPtr]['parenthesis_opener'];
96 $this->processBracket($phpcsFile, $openBracket);
102 $this->processBracket($phpcsFile, $openBracket);
113 * @param int $openBracket The position of the open bracket
118 public function processBracket(PHP_CodeSniffer_File $phpcsFile, $openBracket) argument
121 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
124 $nextParam = $openBracket;
352 $phpcsFile->fixer->addContent($openBracket, $padding);
369 $phpcsFile->fixer->addContent($openBracket, $padding);
387 if (($closeBracket - $openBracket) !== 1) {
[all …]
H A DFunctionDuplicateArgumentSniff.php59 $openBracket = $tokens[$stackPtr]['parenthesis_opener'];
63 for ($i = ($openBracket + 1); $i < $closeBracket; $i++) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Functions/
H A DFunctionCallSignatureSniff.php100 if ($tokens[$openBracket]['code'] !== T_OPEN_PARENTHESIS) {
119 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
121 if (($stackPtr + 1) !== $openBracket) {
127 for ($i = ($stackPtr + 1); $i < $openBracket; $i++) {
133 $phpcsFile->fixer->replaceToken($openBracket, '(');
182 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
207 $closer = $tokens[$openBracket]['parenthesis_closer'];
208 if ($openBracket === ($closer - 1)) {
371 $openBracket,
377 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
[all …]
H A DFunctionDeclarationSniff.php75 $openBracket = $tokens[$stackPtr]['parenthesis_opener'];
104 if ($tokens[($openBracket - 1)]['content'] === $phpcsFile->eolChar) {
106 } else if ($tokens[($openBracket - 1)]['code'] === T_WHITESPACE) {
107 $spaces = strlen($tokens[($openBracket - 1)]['content']);
117 $phpcsFile->fixer->replaceToken(($openBracket - 1), '');
185 * @param int $openBracket The position of the opening bracket
194 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
195 if ($tokens[$openBracket]['line'] !== $tokens[$closeBracket]['line']) {
330 $openBracket = $tokens[$stackPtr]['parenthesis_opener'];
331 $lastLine = $tokens[$openBracket]['line'];
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/NamingConventions/
H A DUpperCaseConstantNameSniff.php79 for ($openBracket = ($stackPtr + 1); $openBracket < $phpcsFile->numTokens; $openBracket++) {
80 if ($tokens[$openBracket]['code'] !== T_WHITESPACE) {
85 if ($openBracket === $phpcsFile->numTokens) {
89 if ($tokens[$openBracket]['code'] !== T_OPEN_PARENTHESIS) {
145 $constPtr = $phpcsFile->findNext(T_WHITESPACE, ($openBracket + 1), null, true);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/ControlStructures/
H A DMultiLineConditionSniff.php81 $openBracket = $tokens[$stackPtr]['parenthesis_opener'];
84 if ($tokens[($openBracket + 1)]['code'] === T_WHITESPACE) {
85 if (strpos($tokens[($openBracket + 1)]['content'], $phpcsFile->eolChar) !== false) {
88 $spaceAfterOpen = strlen($tokens[($openBracket + 1)]['content']);
94 … $fix = $phpcsFile->addFixableError($error, ($openBracket + 1), 'SpacingAfterOpenBrace');
97 $phpcsFile->fixer->replaceToken(($openBracket + 1), '');
99 $phpcsFile->fixer->replaceToken(($openBracket + 1), '');
121 $prevLine = $tokens[$openBracket]['line'];
122 for ($i = ($openBracket + 1); $i <= $closeBracket; $i++) {
123 if ($i === $closeBracket && $tokens[$openBracket]['line'] !== $tokens[$i]['line']) {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Methods/
H A DFunctionCallSignatureSniff.php43 * @param int $openBracket The position of the opening bracket
50 … public function isMultiLineCall(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $openBracket, $tokens) argument
54 …$next = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($openBracket + 1), null, true);
59 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
61 $end = $phpcsFile->findEndOfStatement($openBracket + 1);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/Sniffs/PHP/
H A DGetRequestDataSniff.php95 $openBracket = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
96 if ($tokens[$openBracket]['code'] === T_OPEN_SQUARE_BRACKET) {
97 $closeBracket = $tokens[$openBracket]['bracket_closer'];
98 …$usedVar = $phpcsFile->getTokensAsString(($openBracket + 1), ($closeBracket - $openBracket - …
H A DEvalObjectFactorySniff.php60 $openBracket = $phpcsFile->findNext(T_OPEN_PARENTHESIS, ($stackPtr + 1));
61 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
66 for ($i = ($openBracket + 1); $i < $closeBracket; $i++) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/
H A DCallTimePassByReferenceSniff.php79 $openBracket = $phpcsFile->findNext(
86 if ($tokens[$openBracket]['code'] !== T_OPEN_PARENTHESIS) {
90 if (isset($tokens[$openBracket]['parenthesis_closer']) === false) {
94 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
96 $nextSeparator = $openBracket;
H A DFunctionCallArgumentSpacingSniff.php79 …$openBracket = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($functionName + 1), nul…
80 if ($tokens[$openBracket]['code'] !== T_OPEN_PARENTHESIS) {
84 if (isset($tokens[$openBracket]['parenthesis_closer']) === false) {
88 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
89 $nextSeparator = $openBracket;
H A DOpeningFunctionBraceKernighanRitchieSniff.php95 $openBracket = $phpcsFile->findNext(T_OPEN_PARENTHESIS, ($use + 1));
96 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
H A DOpeningFunctionBraceBsdAllmanSniff.php94 $openBracket = $phpcsFile->findNext(T_OPEN_PARENTHESIS, ($use + 1));
95 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/
H A DDisallowSizeFunctionsInLoopsSniff.php84 $openBracket = $tokens[$stackPtr]['parenthesis_opener'];
89 $start = $phpcsFile->findNext(T_SEMICOLON, ($openBracket + 1));
92 $start = $openBracket;
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Arrays/
H A DArrayBracketSpacingSniff.php66 $openBracket = $stackPtr;
72 $openBracket = $tokens[$stackPtr]['bracket_opener'];
75 …$prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($openBracket - 1), null, t…
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/
H A DInlineIfDeclarationSniff.php59 $openBracket = null;
63 $openBracket = array_pop($parens);
64 $closeBracket = $tokens[$openBracket]['parenthesis_closer'];
/plugin/codemirror/dist/modes/
H A Dstex.min.js1openBracket=function(){this.bracketNo++;return"bracket"};this.closeBracket=function(){}}}var h={};… method in AnonymousFunction2da213cd0200.g.AnonymousFunction2da213cd0300
/plugin/ckgdoku/ckeditor/plugins/a11yhelp/dialogs/lang/
H A Daf.js10 …n",period:"Punt",forwardSlash:"Skuinsstreep",graveAccent:"Aksentteken",openBracket:"Oopblokhakkie"…
H A Dar.js10 …,period:"نقطة",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",…
H A Daz.js10 …is",period:"Nöqtə",forwardSlash:"Çəp xətt",graveAccent:"Vurğu işarəsi",openBracket:"Açılan mötəriz…
H A Dbg.js10 …eriod:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",…
H A Dcs.js11 …:"Pomlčka",period:"Tečka",forwardSlash:"Lomítko",graveAccent:"Přízvuk",openBracket:"Otevřená hrana…
H A Dcy.js11 …eriod:"Period",forwardSlash:"Forward Slash",graveAccent:"Grave Accent",openBracket:"Open Bracket",…
H A Dda.js11 …",period:"Punktum",forwardSlash:"Skråstreg",graveAccent:"Accent grave",openBracket:"Start klamme",…

123456