We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4212eb4 commit a210ae3Copy full SHA for a210ae3
src/PhpDepend.php
@@ -102,10 +102,9 @@ public function parse($str)
102
$this->classes = array();
103
$this->dependencies = array();
104
$this->use = array();
105
- $this->kill = FALSE;
106
$this->level = 0;
107
108
- while($token = $this->next())// && !$this->kill)
+ while($token = $this->next())
109
{
110
$tokenId = is_array($token) ? $token[0] : $token;
111
@@ -248,11 +247,6 @@ private function addDependency($class)
248
247
*/
249
private function next()
250
251
- if($this->kill)
252
- {
253
- return FALSE;
254
- }
255
-
256
$next = current($this->tokens);
257
next($this->tokens);
258
return $next;
0 commit comments