Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb008b2a

Browse files
committed
applied code review suggestions
1 parent6cdc5e2 commitb008b2a

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

‎src/Symfony/Component/Process/Messenger/RunProcessFailedException.phprenamed to‎src/Symfony/Component/Process/Exception/RunProcessFailedException.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespaceSymfony\Component\Process\Messenger;
12+
namespaceSymfony\Component\Process\Exception;
1313

14-
useSymfony\Component\Process\Exception\ProcessFailedException;
15-
useSymfony\Component\Process\Exception\RuntimeException;
14+
useSymfony\Component\Process\Messenger\RunProcessContext;
1615

1716
/**
1817
* @author Kevin Bond <kevinbond@gmail.com>

‎src/Symfony/Component/Process/Messenger/RunProcessContext.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,4 @@ public function __construct(RunProcessMessage $message, Process $process)
3030
$this->output =$process->isOutputDisabled() ?null :$process->getOutput();
3131
$this->errorOutput =$process->isOutputDisabled() ?null :$process->getErrorOutput();
3232
}
33-
3433
}

‎src/Symfony/Component/Process/Messenger/RunProcessMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(
2121
publicreadonly ?string$cwd =null,
2222
publicreadonly ?array$env =null,
2323
publicreadonlymixed$input =null,
24-
publicreadonly ?float$timeout =60,
24+
publicreadonly ?float$timeout =60.0,
2525
) {
2626
}
2727

‎src/Symfony/Component/Process/Messenger/RunProcessMessageHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespaceSymfony\Component\Process\Messenger;
1313

1414
useSymfony\Component\Process\Exception\ProcessFailedException;
15+
useSymfony\Component\Process\Exception\RunProcessFailedException;
1516
useSymfony\Component\Process\Process;
1617

1718
/**

‎src/Symfony/Component/Process/Tests/Messenger/RunProcessMessageHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespaceSymfony\Component\Process\Tests\Messenger;
1313

1414
usePHPUnit\Framework\TestCase;
15-
useSymfony\Component\Process\Messenger\RunProcessFailedException;
15+
useSymfony\Component\Process\Exception\RunProcessFailedException;
1616
useSymfony\Component\Process\Messenger\RunProcessMessage;
1717
useSymfony\Component\Process\Messenger\RunProcessMessageHandler;
1818

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp