$this->blackListedClassNames is unknown

This commit is contained in:
Thomas Müller 2016-07-04 13:27:08 +02:00 committed by Lukas Reschke
parent 9915f68a80
commit aa10231027
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ $errors = [];
foreach($Regex as $file) {
$stmts = $parser->parse(file_get_contents($file[0]));
$visitor = new SinceTagCheckVisitor($this->blackListedClassNames);
$visitor = new SinceTagCheckVisitor();
$traverser = new \PhpParser\NodeTraverser();
$traverser->addVisitor($visitor);
$traverser->traverse($stmts);