Skip to content

XdebugDisablingProcessEnvironmentConfigurator

github-actions edited this page Apr 24, 2026 · 1 revision

Disables Xdebug for child processes unless coverage still needs it.


Methods

__construct

public __construct(\FastForward\DevTools\Environment\EnvironmentInterface $environment, \FastForward\DevTools\Php\ExtensionInterface $extension): mixed

Parameters:

Parameter Type Description
$environment \FastForward\DevTools\Environment\EnvironmentInterface reads parent process environment variables
$extension \FastForward\DevTools\Php\ExtensionInterface checks PHP extension availability

configure

Configures Xdebug-related environment variables for nested commands.

public configure(\Symfony\Component\Process\Process $process, \Symfony\Component\Console\Output\OutputInterface $output): void

Parameters:

Parameter Type Description
$process \Symfony\Component\Process\Process the queued process that will be started
$output \Symfony\Component\Console\Output\OutputInterface the parent output used to infer console capabilities

Clone this wiki locally