From f5c57928142886908c3df140047461ecc47b840b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Planchat?= Date: Tue, 21 Nov 2023 15:22:24 +0100 Subject: [PATCH] Migrated code from symfony/process to react/child-process --- src/Adapter/Composer.php | 2 +- src/Adapter/Docker/Satellite.php | 2 +- src/Console/Command/RunCommand.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Adapter/Composer.php b/src/Adapter/Composer.php index 400a22c4..0760c803 100644 --- a/src/Adapter/Composer.php +++ b/src/Adapter/Composer.php @@ -41,7 +41,7 @@ private function execute(Process $process, float $timeout = 300): void $deferred->resolve(); }); - $this->logger->notice(sprintf('Starting process "%s".', $process->getCommand())); + $this->logger->debug(sprintf('Starting process "%s".', $process->getCommand())); await(timeout($deferred->promise(), $timeout)); diff --git a/src/Adapter/Docker/Satellite.php b/src/Adapter/Docker/Satellite.php index 1080f0ff..f551d427 100644 --- a/src/Adapter/Docker/Satellite.php +++ b/src/Adapter/Docker/Satellite.php @@ -108,7 +108,7 @@ private function execute( $deferred->resolve(); }); - $logger->notice(sprintf('Starting process "%s".', $process->getCommand())); + $logger->debug(sprintf('Starting process "%s".', $process->getCommand())); await(timeout($deferred->promise(), $timeout)); diff --git a/src/Console/Command/RunCommand.php b/src/Console/Command/RunCommand.php index dd82d70d..a85f73d7 100644 --- a/src/Console/Command/RunCommand.php +++ b/src/Console/Command/RunCommand.php @@ -197,7 +197,7 @@ private function executeWorker( $deferred->resolve(); }); - $style->note(sprintf('Starting process "%s".', $process->getCommand())); + $style->info(sprintf('Starting process "%s".', $process->getCommand())); await($deferred->promise());