|
@@ 840-845 (lines=6) @@
|
| 837 |
|
// it's likely to be an array which might have arguments in it. This |
| 838 |
|
// could cause problems in our parsing below, so lets just skip to the |
| 839 |
|
// end of it. |
| 840 |
|
if (isset($tokens[$i]['parenthesis_opener']) === true) { |
| 841 |
|
// Don't do this if it's the close parenthesis for the method. |
| 842 |
|
if ($i !== $tokens[$i]['parenthesis_closer']) { |
| 843 |
|
$i = ($tokens[$i]['parenthesis_closer'] + 1); |
| 844 |
|
} |
| 845 |
|
} |
| 846 |
|
|
| 847 |
|
if (isset($tokens[$i]['bracket_opener']) === true) { |
| 848 |
|
// Don't do this if it's the close parenthesis for the method. |
|
@@ 847-852 (lines=6) @@
|
| 844 |
|
} |
| 845 |
|
} |
| 846 |
|
|
| 847 |
|
if (isset($tokens[$i]['bracket_opener']) === true) { |
| 848 |
|
// Don't do this if it's the close parenthesis for the method. |
| 849 |
|
if ($i !== $tokens[$i]['bracket_closer']) { |
| 850 |
|
$i = ($tokens[$i]['bracket_closer'] + 1); |
| 851 |
|
} |
| 852 |
|
} |
| 853 |
|
|
| 854 |
|
switch ($tokens[$i]['code']) { |
| 855 |
|
case T_BITWISE_AND: |