mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-25 12:14:02 +01:00
fix cs
This commit is contained in:
parent
a433cd784f
commit
be84e3e2dc
@ -107,7 +107,6 @@ final class SmartClassReflector
|
||||
// @todo check if type is needed by any Rector
|
||||
return [];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@ -117,7 +116,6 @@ final class SmartClassReflector
|
||||
{
|
||||
try {
|
||||
return $reflectionClass->getParentClassNames();
|
||||
|
||||
} catch (IdentifierNotFound $identifierNotFoundException) {
|
||||
// @todo check if type is needed by any Rector
|
||||
return [];
|
||||
|
@ -5,7 +5,6 @@ namespace Rector\NodeTraverserQueue;
|
||||
use PhpParser\Lexer;
|
||||
use Rector\BetterReflection\Reflection\ReflectionFunction;
|
||||
use Rector\BetterReflection\Reflector\Exception\IdentifierNotFound;
|
||||
use Rector\NodeTraverser\CloningNodeTraverser;
|
||||
use Rector\NodeTraverser\RectorNodeTraverser;
|
||||
use Rector\NodeTraverser\ShutdownNodeTraverser;
|
||||
use Rector\NodeTraverser\StandaloneTraverseNodeTraverser;
|
||||
|
@ -194,7 +194,6 @@ final class ProcessCommand extends Command
|
||||
'diff' => $this->differAndFormatter->diffAndFormat($oldContent, $newContent),
|
||||
];
|
||||
}
|
||||
|
||||
} else {
|
||||
$newContent = $this->fileProcessor->processFile($fileInfo);
|
||||
if ($newContent !== $oldContent) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user