|
@@ 401-406 (lines=6) @@
|
| 398 |
|
// it's likely to be an array which might have arguments in it. This |
| 399 |
|
// could cause problems in our parsing below, so lets just skip to the |
| 400 |
|
// end of it. |
| 401 |
|
if (isset($tokens[$i]['parenthesis_opener']) === true) { |
| 402 |
|
// Don't do this if it's the close parenthesis for the method. |
| 403 |
|
if ($i !== $tokens[$i]['parenthesis_closer']) { |
| 404 |
|
$i = ($tokens[$i]['parenthesis_closer'] + 1); |
| 405 |
|
} |
| 406 |
|
} |
| 407 |
|
|
| 408 |
|
if (isset($tokens[$i]['bracket_opener']) === true) { |
| 409 |
|
// Don't do this if it's the close parenthesis for the method. |
|
@@ 408-413 (lines=6) @@
|
| 405 |
|
} |
| 406 |
|
} |
| 407 |
|
|
| 408 |
|
if (isset($tokens[$i]['bracket_opener']) === true) { |
| 409 |
|
// Don't do this if it's the close parenthesis for the method. |
| 410 |
|
if ($i !== $tokens[$i]['bracket_closer']) { |
| 411 |
|
$i = ($tokens[$i]['bracket_closer'] + 1); |
| 412 |
|
} |
| 413 |
|
} |
| 414 |
|
|
| 415 |
|
switch ($tokens[$i]['type']) { |
| 416 |
|
case 'T_BITWISE_AND': |