From c842b381ddd986e9658f66cbce757d0be2ef279b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Holtk=C3=B6tter?= Date: Tue, 3 Feb 2026 07:24:21 +0100 Subject: [PATCH] fix(rsync): Use named arguments for runLocally --- contrib/rsync.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/rsync.php b/contrib/rsync.php index e040f4983..56316d1d4 100644 --- a/contrib/rsync.php +++ b/contrib/rsync.php @@ -241,10 +241,10 @@ $host = Context::get()->getHost(); if ($host instanceof Localhost) { - runLocally("rsync {$rsyncFlags} {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} '$src/' '$dst/'", $config); + runLocally("rsync {$rsyncFlags} {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} '$src/' '$dst/'", timeout: $config['timeout']); return; } $sshArguments = $host->connectionOptionsString(); - runLocally("rsync {$rsyncFlags} -e 'ssh $sshArguments' {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} '$src/' '{$host->connectionString()}:$dst/'", $config); + runLocally("rsync {$rsyncFlags} -e 'ssh $sshArguments' {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} '$src/' '{$host->connectionString()}:$dst/'", timeout: $config['timeout']); });