<?php escapeshellarg(string $arg): string
<?php private static function escapeArgument($argument) { if ('' === ($argument = (string) $argument)) { return escapeshellarg($argument); } if (!Platform::isWindows()) {
<?php 'COMPOSER_CACHE_DIR' => $this->testDir.'cache', ); $proc = Process::fromShellCommandline(escapeshellcmd(PHP_BINARY).' '.escapeshellarg(self::$pharPath).' --no-ansi '.$testData['RUN'], $this->testDir, $env, null, 300); $output = ''; $exitCode = $proc->run(function ($type, $buffer) use (&$output) {