From f6bb2cfb1363aca49ca733ba079bc16edd29dd1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Pineau?= Date: Mon, 22 Apr 2024 15:00:37 +0200 Subject: [PATCH] Fixed cs --- .castor/docker.php | 4 ++-- castor.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.castor/docker.php b/.castor/docker.php index 55a2bc7..d19b336 100644 --- a/.castor/docker.php +++ b/.castor/docker.php @@ -7,10 +7,10 @@ use Castor\Attribute\AsTask; use Castor\Context; use Symfony\Component\Console\Input\InputOption; -use Symfony\Contracts\HttpClient\Exception\ExceptionInterface as HttpExceptionInterface; use Symfony\Component\Process\Exception\ExceptionInterface; use Symfony\Component\Process\ExecutableFinder; use Symfony\Component\Process\Process; +use Symfony\Contracts\HttpClient\Exception\ExceptionInterface as HttpExceptionInterface; use function Castor\cache; use function Castor\capture; @@ -311,7 +311,7 @@ function create_default_context(): Context 'macos' => false, 'power_shell' => false, // check if posix_geteuid is available, if not, use getmyuid (windows) - 'user_id' => function_exists('posix_geteuid') ? posix_geteuid() : getmyuid(), + 'user_id' => \function_exists('posix_geteuid') ? posix_geteuid() : getmyuid(), 'root_dir' => \dirname(__DIR__), ]; diff --git a/castor.php b/castor.php index 285cf7d..06105bb 100644 --- a/castor.php +++ b/castor.php @@ -12,6 +12,7 @@ use function docker\docker_compose_run; use function docker\generate_certificates; use function docker\up; + // use function docker\workers_start; // use function docker\workers_stop;