src/Runners/PHPUnit/Configuration.php
public function getEnvironmentVariables(): array
    {
        if (!isset($this->xml->php->env)) {
            return [];
        }

        $variables = [];

        foreach ($this->xml->php->env as $env) {
            $variables[(string) $env['name']] = (string) $env['value'];
        }

        return $variables;
    }
public function getEnvironmentVariables(): array
    {
        if (!isset($this->xml->php->env)) {
            return [];
        }

        $variables = [];

        foreach ($this->xml->php->env as $env) {
            $variables[(string) $env['name']] = (string) $env['value'];
        }

        return $variables;
    }
public function getEnvironmentVariables ( ) : array { if ( ! isset ( $ this -> xml -> php -> env ) ) { return [ ] ; } $ variables = [ ] ; foreach ( $ this -> xml -> php -> env as $ env ) { $ variables [ ( string ) $ env [ 'name' ] ] = ( string ) $ env [ 'value' ] ; } return $ variables ; }
Get override environment variables from phpunit config file.

@return array
Get override environment variables from phpunit config file .