remove unused code

This commit is contained in:
TomasVotruba 2017-09-08 23:46:46 +02:00
parent 135bee7d28
commit 81ae16ffe7

View File

@ -4,16 +4,11 @@ namespace Rector\DeprecationExtractor\NodeVisitor;
use Nette\Utils\Strings;
use PhpParser\Node;
use PhpParser\Node\Expr\FuncCall;
use PhpParser\Node\Stmt\ClassLike;
use PhpParser\Node\Stmt\ClassMethod;
use PhpParser\Node\Stmt\Function_;
use PhpParser\NodeVisitorAbstract;
use PhpParser\PrettyPrinter\Standard;
use Rector\Node\Attribute;
use Rector\NodeAnalyzer\DocBlockAnalyzer;
use Rector\DeprecationExtractor\Deprecation\DeprecationCollector;
use Rector\DeprecationExtractor\Deprecation\DeprecationFactory;
/**
* Inspired by https://github.com/sensiolabs-de/deprecation-detector/blob/master/src/Visitor/Deprecation/FindDeprecatedTagsVisitor.php
@ -25,11 +20,6 @@ final class DeprecationDetector extends NodeVisitorAbstract
*/
private $deprecationCollector;
/**
* @var DeprecationFactory
*/
private $deprecationFactory;
/**
* @var DocBlockAnalyzer
*/
@ -42,12 +32,10 @@ final class DeprecationDetector extends NodeVisitorAbstract
public function __construct(
DeprecationCollector $deprecationCollector,
DeprecationFactory $triggerMessageResolver,
DocBlockAnalyzer $docBlockAnalyzer,
Standard $prettyPrinter
) {
$this->deprecationCollector = $deprecationCollector;
$this->deprecationFactory = $triggerMessageResolver;
$this->docBlockAnalyzer = $docBlockAnalyzer;
$this->prettyPrinter = $prettyPrinter;
}