From ccfcd336fe067a02a203ec86fec5a056c27905be Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Sun, 19 Mar 2023 04:00:10 +0000 Subject: [PATCH] fix: profile plugin --- src/Plugins/Profile.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Plugins/Profile.php b/src/Plugins/Profile.php index e29a7fc1..0f723a2c 100644 --- a/src/Plugins/Profile.php +++ b/src/Plugins/Profile.php @@ -19,6 +19,10 @@ final class Profile implements HandlesArguments */ public function handleArguments(array $arguments): array { + if (! $this->hasArgument('--profile', $arguments)) { + return $arguments; + } + if ($this->hasArgument('--parallel', $arguments)) { throw new InvalidOption('The [--profile] option is not supported when running in parallel.'); }