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;