Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .castor/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace docker;

use Castor\Attribute\AsArgsAfterOptionEnd;
use Castor\Attribute\AsOption;
use Castor\Attribute\AsRawTokens;
use Castor\Attribute\AsTask;
use Castor\Context;
use Castor\Helper\PathHelper;
Expand Down Expand Up @@ -158,7 +158,7 @@ function stop(
* @param array<string> $params
*/
#[AsTask(description: 'Opens a shell (bash) or proxy any command to the builder container', aliases: ['builder'])]
function builder(#[AsRawTokens] array $params = []): int
function builder(#[AsArgsAfterOptionEnd] array $params = []): int
{
$c = context()->withEnvironment($_ENV + $_SERVER);

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: "Run PHPStan"
run: |
# PHPStan need the container to be compiled
castor --context=ci builder bin/console about --env=dev
castor --context=ci builder -- bin/console about --env=dev
castor qa:phpstan
- name: "Run PHPUnit"
Expand Down
Loading