Skip to content

Commit 5c0c8b6

Browse files
committed
Fix CS
1 parent e11d672 commit 5c0c8b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Command/DeployRsyncCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
6666
return 0;
6767
}
6868
} elseif (!file_exists($ignoreFile)) {
69-
throw new RuntimeException(sprintf('Ignore file "%s" not found', $ignoreFile));
69+
throw new RuntimeException(\sprintf('Ignore file "%s" not found', $ignoreFile));
7070
}
7171

7272
$command = [$this->rsyncConfig['rsync_path']];
@@ -85,9 +85,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8585
$command[] = $this->getDirPath($targetPats['path']);
8686
} elseif (preg_match(self::TARGET_SSH_REGEX, $environment['target'], $targetPats)) {
8787
$command[] = '-e';
88-
$command[] = sprintf('ssh -p%s', (isset($targetPats['port']) && '' !== $targetPats['port']) ? $targetPats['port'] : 22);
88+
$command[] = \sprintf('ssh -p%s', (isset($targetPats['port']) && '' !== $targetPats['port']) ? $targetPats['port'] : 22);
8989
$command[] = $this->getDirPath($this->projetDir);
90-
$command[] = sprintf('%s@%s:%s', $targetPats['username'], $targetPats['hostname'], $this->getDirPath($targetPats['path']));
90+
$command[] = \sprintf('%s@%s:%s', $targetPats['username'], $targetPats['hostname'], $this->getDirPath($targetPats['path']));
9191
} else {
9292
throw new \Exception('Invalid target');
9393
}

0 commit comments

Comments
 (0)