Skip to content

Commit

Permalink
Fixed cs
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Apr 22, 2024
1 parent 5a9ebcb commit f6bb2cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .castor/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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__),
];

Expand Down
1 change: 1 addition & 0 deletions castor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f6bb2cf

Please sign in to comment.