@@ 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) { |
@@ 289-291 (lines=3) @@ | ||
286 | ||
287 | // Which nesting level is the one we are interested in ? |
|
288 | $nestedParenthesisCount = 1; |
|
289 | if (isset($tokens[$openParenthesis]['nested_parenthesis'])) { |
|
290 | $nestedParenthesisCount = count($tokens[$openParenthesis]['nested_parenthesis']) + 1; |
|
291 | } |
|
292 | ||
293 | $parameters = array(); |
|
294 | $nextComma = $openParenthesis; |