src/Tokenizers/Tokenizer.php 1 location
|
@@ 801-805 (lines=5) @@
|
798 |
|
echo '* already processed, skipping *'.PHP_EOL; |
799 |
|
} |
800 |
|
|
801 |
|
if ($isShared === false |
802 |
|
&& isset($this->tokens[$i]['scope_closer']) === true |
803 |
|
) { |
804 |
|
$i = $this->tokens[$i]['scope_closer']; |
805 |
|
} |
806 |
|
|
807 |
|
continue; |
808 |
|
} else if ($currType === $tokenType |
src/Files/File.php 1 location
|
@@ 1817-1822 (lines=6) @@
|
1814 |
|
return $lastNotEmpty; |
1815 |
|
} |
1816 |
|
|
1817 |
|
if (isset($this->tokens[$i]['scope_opener']) === true |
1818 |
|
&& $i === $this->tokens[$i]['scope_closer'] |
1819 |
|
) { |
1820 |
|
// Found the end of the previous scope block. |
1821 |
|
return $lastNotEmpty; |
1822 |
|
} |
1823 |
|
|
1824 |
|
// Skip nested statements. |
1825 |
|
if (isset($this->tokens[$i]['bracket_opener']) === true |