6
6
use Phabalicious \Configuration \HostConfig ;
7
7
use Phabalicious \Exception \EarlyTaskExitException ;
8
8
use Phabalicious \ShellProvider \ShellProviderInterface ;
9
+ use Phabalicious \Utilities \EnsureKnownHosts ;
9
10
use Phabalicious \Utilities \Utilities ;
10
11
use Phabalicious \Validation \ValidationErrorBagInterface ;
11
12
use Phabalicious \Validation \ValidationService ;
@@ -184,7 +185,7 @@ public function appCreate(HostConfig $host_config, TaskContextInterface $context
184
185
$ cwd = $ shell ->getWorkingDir ();
185
186
$ shell ->cd (dirname ($ install_dir ));
186
187
187
- $ this -> ensureKnownHosts (
188
+ EnsureKnownHosts:: ensureKnownHosts (
188
189
$ context ->getConfigurationService (),
189
190
$ this ->getKnownHosts ($ host_config , $ context ),
190
191
$ shell
@@ -211,7 +212,7 @@ public function preflightTask(string $task, HostConfig $config, TaskContextInter
211
212
{
212
213
parent ::preflightTask ($ task , $ config , $ context ); // TODO: Change the autogenerated stub
213
214
if (in_array ($ task , ['deploy ' ])) {
214
- $ this -> ensureKnownHosts (
215
+ EnsureKnownHosts:: ensureKnownHosts (
215
216
$ context ->getConfigurationService (),
216
217
$ this ->getKnownHosts ($ config , $ context ),
217
218
$ config ->shell ()
0 commit comments