This commit is contained in:
Tomas Votruba 2021-06-22 21:22:30 +02:00
parent 21200019a0
commit ea11625cfb

View File

@ -145,7 +145,7 @@ abstract class AbstractRectorTestCase extends AbstractTestCase implements Rector
$nodeScopeResolver = $this->getService(NodeScopeResolver::class);
$nodeScopeResolver->setAnalysedFiles([$fileInfo->getRealPath()]);
$configuration = new Configuration(isDryRun: true);
$configuration = new Configuration(true);
$file = new File($fileInfo, $fileInfo->getContents());
$this->applicationFileProcessor->run([$file], $configuration);