vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php 1 location
|
@@ 103-105 (lines=3) @@
|
| 100 |
|
|
| 101 |
|
// Determine the scope of the original object operator. |
| 102 |
|
$origBrackets = null; |
| 103 |
|
if (isset($tokens[$stackPtr]['nested_parenthesis']) === true) { |
| 104 |
|
$origBrackets = $tokens[$stackPtr]['nested_parenthesis']; |
| 105 |
|
} |
| 106 |
|
|
| 107 |
|
$origConditions = null; |
| 108 |
|
if (isset($tokens[$stackPtr]['conditions']) === true) { |
vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php 1 location
|
@@ 408-410 (lines=3) @@
|
| 405 |
|
|
| 406 |
|
if ($tokens[$nextToken]['code'] === T_COMMA) { |
| 407 |
|
$stackPtrCount = 0; |
| 408 |
|
if (isset($tokens[$stackPtr]['nested_parenthesis']) === true) { |
| 409 |
|
$stackPtrCount = count($tokens[$stackPtr]['nested_parenthesis']); |
| 410 |
|
} |
| 411 |
|
|
| 412 |
|
$commaCount = 0; |
| 413 |
|
if (isset($tokens[$nextToken]['nested_parenthesis']) === true) { |
vendor/wp-coding-standards/wpcs/WordPress/Sniffs/Arrays/ArrayDeclarationSniff.php 1 location
|
@@ 216-218 (lines=3) @@
|
| 213 |
|
|
| 214 |
|
if ( T_COMMA === $tokens[ $nextToken ]['code'] ) { |
| 215 |
|
$stackPtrCount = 0; |
| 216 |
|
if ( isset( $tokens[ $stackPtr ]['nested_parenthesis'] ) ) { |
| 217 |
|
$stackPtrCount = count( $tokens[ $stackPtr ]['nested_parenthesis'] ); |
| 218 |
|
} |
| 219 |
|
|
| 220 |
|
$commaCount = 0; |
| 221 |
|
if ( isset( $tokens[ $nextToken ]['nested_parenthesis'] ) ) { |