Find the best Rector rule to solve your problem. Searching through 869 rules.
Found 1 rule. That's the one:
Rename copy_on_windows option to follow_symlinks in Filesystem::mirror()
use Symfony\Component\Filesystem\Filesystem;
final class Foo
{
public function __construct(private Filesystem $filesystem) {}
public function bar($originDir, $targetDir): void
{
- $this->filesystem->mirror(targetDir: $originDir, originDir: $targetDir, options: $options = ['copy_on_windows' => true]);
+ $this->filesystem->mirror(targetDir: $originDir, originDir: $targetDir, options: $options = ['follow_symlinks' => true]);
}
}