From 87d8947ff36d8b71f54b7e46b93384cf010681a0 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Tue, 18 Feb 2020 15:08:23 -0500 Subject: [PATCH] Fix phpcs --- src/Psalm/Internal/Fork/Pool.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Psalm/Internal/Fork/Pool.php b/src/Psalm/Internal/Fork/Pool.php index 28b58c709ae..9c479286680 100644 --- a/src/Psalm/Internal/Fork/Pool.php +++ b/src/Psalm/Internal/Fork/Pool.php @@ -204,9 +204,12 @@ public function __construct( // Serialize this child's produced results and send them to the parent. $process_done_message = new ForkProcessDoneMessage($results ?: []); } catch (\Throwable $t) { - // This can happen when developing Psalm from source without running `composer update`, or because of rare bugs in Psalm. + // This can happen when developing Psalm from source without running `composer update`, + // or because of rare bugs in Psalm. /** @psalm-suppress MixedArgument on Windows, for some reason */ - $process_done_message = new ForkProcessErrorMessage($t->getMessage() . "\nStack trace in the forked worker:\n" . $t->getTraceAsString()); + $process_done_message = new ForkProcessErrorMessage( + $t->getMessage() . "\nStack trace in the forked worker:\n" . $t->getTraceAsString() + ); } $serialized_message = $task_done_buffer . base64_encode(serialize($process_done_message)) . "\n";