public function setUp() { ProcessBuilderFactory::$emulateSfLTS = null; if (null === static::$phpBinary) { $this->markTestSkipped('Unable to detect php binary, skipping'); } }
protected function getProcessBuilderFactory($binary) { $factory = new ProcessBuilderFactory($binary); $factory->setBuilder(new LTSProcessBuilder()); ProcessBuilderFactory::$emulateSfLTS = false; $factory->useBinary($binary); return $factory; }
protected function getProcessBuilderFactory($binary) { ProcessBuilderFactory::$emulateSfLTS = true; return new ProcessBuilderFactory($binary); }