diff options
Diffstat (limited to 'phploc-php73.patch')
-rw-r--r-- | phploc-php73.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/phploc-php73.patch b/phploc-php73.patch new file mode 100644 index 0000000..cefbac0 --- /dev/null +++ b/phploc-php73.patch @@ -0,0 +1,30 @@ +diff -up ./src/Analyser.php.php73 ./src/Analyser.php +--- ./src/Analyser.php.php73 2017-11-18 18:35:43.000000000 +0100 ++++ ./src/Analyser.php 2018-10-15 09:57:34.714427621 +0200 +@@ -89,7 +89,7 @@ class Analyser + + case T_CLASS: + if (!$this->isClassDeclaration($tokens, $i)) { +- continue; ++ break; + } + + $className = $this->getClassName($namespace, $tokens, $i); +@@ -206,7 +206,7 @@ class Analyser + case T_INTERFACE: + case T_TRAIT: + if (!$this->isClassDeclaration($tokens, $i)) { +- continue; ++ break; + } + + $this->collector->currentClassReset(); +@@ -238,7 +238,7 @@ class Analyser + $prev = $this->getPreviousNonWhitespaceTokenPos($tokens, $i); + + if ($tokens[$prev][0] === T_USE) { +- continue; ++ break; + } + + $currentBlock = T_FUNCTION; |