This commit is contained in:
TomasVotruba 2018-01-04 17:11:51 +01:00
parent a433cd784f
commit be84e3e2dc
3 changed files with 0 additions and 4 deletions

View File

@ -107,7 +107,6 @@ final class SmartClassReflector
// @todo check if type is needed by any Rector // @todo check if type is needed by any Rector
return []; return [];
} }
} }
/** /**
@ -117,7 +116,6 @@ final class SmartClassReflector
{ {
try { try {
return $reflectionClass->getParentClassNames(); return $reflectionClass->getParentClassNames();
} catch (IdentifierNotFound $identifierNotFoundException) { } catch (IdentifierNotFound $identifierNotFoundException) {
// @todo check if type is needed by any Rector // @todo check if type is needed by any Rector
return []; return [];

View File

@ -5,7 +5,6 @@ namespace Rector\NodeTraverserQueue;
use PhpParser\Lexer; use PhpParser\Lexer;
use Rector\BetterReflection\Reflection\ReflectionFunction; use Rector\BetterReflection\Reflection\ReflectionFunction;
use Rector\BetterReflection\Reflector\Exception\IdentifierNotFound; use Rector\BetterReflection\Reflector\Exception\IdentifierNotFound;
use Rector\NodeTraverser\CloningNodeTraverser;
use Rector\NodeTraverser\RectorNodeTraverser; use Rector\NodeTraverser\RectorNodeTraverser;
use Rector\NodeTraverser\ShutdownNodeTraverser; use Rector\NodeTraverser\ShutdownNodeTraverser;
use Rector\NodeTraverser\StandaloneTraverseNodeTraverser; use Rector\NodeTraverser\StandaloneTraverseNodeTraverser;

View File

@ -194,7 +194,6 @@ final class ProcessCommand extends Command
'diff' => $this->differAndFormatter->diffAndFormat($oldContent, $newContent), 'diff' => $this->differAndFormatter->diffAndFormat($oldContent, $newContent),
]; ];
} }
} else { } else {
$newContent = $this->fileProcessor->processFile($fileInfo); $newContent = $this->fileProcessor->processFile($fileInfo);
if ($newContent !== $oldContent) { if ($newContent !== $oldContent) {