|
@@ 969-974 (lines=6) @@
|
| 966 |
|
// it's likely to be an array which might have arguments in it. This |
| 967 |
|
// could cause problems in our parsing below, so lets just skip to the |
| 968 |
|
// end of it. |
| 969 |
|
if (isset($tokens[$i]['parenthesis_opener']) === true) { |
| 970 |
|
// Don't do this if it's the close parenthesis for the method. |
| 971 |
|
if ($i !== $tokens[$i]['parenthesis_closer']) { |
| 972 |
|
$i = ($tokens[$i]['parenthesis_closer'] + 1); |
| 973 |
|
} |
| 974 |
|
} |
| 975 |
|
|
| 976 |
|
if (isset($tokens[$i]['bracket_opener']) === true) { |
| 977 |
|
// Don't do this if it's the close parenthesis for the method. |
|
@@ 976-981 (lines=6) @@
|
| 973 |
|
} |
| 974 |
|
} |
| 975 |
|
|
| 976 |
|
if (isset($tokens[$i]['bracket_opener']) === true) { |
| 977 |
|
// Don't do this if it's the close parenthesis for the method. |
| 978 |
|
if ($i !== $tokens[$i]['bracket_closer']) { |
| 979 |
|
$i = ($tokens[$i]['bracket_closer'] + 1); |
| 980 |
|
} |
| 981 |
|
} |
| 982 |
|
|
| 983 |
|
switch ($tokens[$i]['code']) { |
| 984 |
|
case T_BITWISE_AND: |