mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: profile plugin
This commit is contained in:
@ -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.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user