| @@ 103-105 (lines=3) @@ | ||
| 100 | ||
| 101 | // Which nesting level is the one we are interested in ? |
|
| 102 | $nestedParenthesisCount = 1; |
|
| 103 | if (isset($tokens[$openBracket]['nested_parenthesis'])) { |
|
| 104 | $nestedParenthesisCount = count($tokens[$openBracket]['nested_parenthesis']) + 1; |
|
| 105 | } |
|
| 106 | ||
| 107 | foreach ($parameters as $parameter) { |
|
| 108 | if ($this->isCallTimePassByReferenceParam($phpcsFile, $parameter, $nestedParenthesisCount) === true) { |
|
| @@ 419-421 (lines=3) @@ | ||
| 416 | } |
|
| 417 | ||
| 418 | // Which nesting level is the one we are interested in ? |
|
| 419 | if (isset($tokens[$opener]['nested_parenthesis'])) { |
|
| 420 | $nestedParenthesisCount += count($tokens[$opener]['nested_parenthesis']); |
|
| 421 | } |
|
| 422 | ||
| 423 | $parameters = array(); |
|
| 424 | $nextComma = $opener; |
|