pestphp/pest · error · InvalidOption
The [--profile] option is not supported when running in para
Error message
The [--profile] option is not supported when running in parallel.
What it means
Error "The [--profile] option is not supported when running in parallel." thrown in pestphp/pest.
Source
Thrown at src/Plugins/Profile.php:27
/**
* @internal
*/
final class Profile implements HandlesArguments
{
use Concerns\HandleArguments;
/**
* {@inheritDoc}
*/
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.');
}
return $arguments;
}
}
View on GitHub (pinned to 1af74a215c)
When it happens
Trigger: Thrown at src/Plugins/Profile.php:27 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of pestphp/pest@1af74a215c (2026-08-21).
Data as JSON: /api/errors/6ce2c8fa464d9fea.
Report an issue: GitHub.