Skip to content

Commit 01d065b

Browse files
authored
Merge pull request #753 from TheoD02/chore/style-fix
chore(style): fix `castor:cs:cs` run code style
2 parents 8de3002 + 85783a5 commit 01d065b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/basic/run/interactive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use Castor\Attribute\AsTask;
66

7-
use function Castor\run;
87
use function Castor\context;
8+
use function Castor\run;
99

1010
#[AsTask()]
1111
function interactive(): void

examples/basic/run/pty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use Castor\Attribute\AsTask;
66

7-
use function Castor\run;
87
use function Castor\context;
8+
use function Castor\run;
99

1010
#[AsTask(description: 'Run a command with PTY disabled')]
1111
function pty(): void

examples/basic/run/tty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
use Castor\Attribute\AsTask;
66

7-
use function Castor\run;
87
use function Castor\context;
8+
use function Castor\run;
99

1010
#[AsTask(description: 'Run a command with TTY enabled')]
1111
function tty(): void

src/Import/Remote/Composer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public function doWrite(string $message, bool $newline): void
206206
$exitCode = $composerApplication->run($argvInput, $output);
207207
} finally {
208208
putenv('COMPOSER=');
209-
putenv("COMPOSER_VENDOR_DIR=");
209+
putenv('COMPOSER_VENDOR_DIR=');
210210
$_SERVER['PHP_SELF'] = $self;
211211

212212
unset($_ENV['COMPOSER'], $_SERVER['COMPOSER'], $_ENV['COMPOSER_VENDOR_DIR'], $_SERVER['COMPOSER_VENDOR_DIR']);

0 commit comments

Comments
 (0)