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