Fixed syntax for PHP 5.3
This commit is contained in:
parent
9487e3a9e7
commit
fe4e821ff5
|
@ -32,9 +32,10 @@ abstract class AbstractWebServerTest extends \PHPUnit_Framework_TestCase
|
||||||
self::markTestSkipped('PHP Webserver is available from PHP 5.4');
|
self::markTestSkipped('PHP Webserver is available from PHP 5.4');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$phpFinder = new PhpExecutableFinder();
|
||||||
self::$webserver = ProcessBuilder::create(array(
|
self::$webserver = ProcessBuilder::create(array(
|
||||||
'exec', // used exec binary (https://github.com/symfony/symfony/issues/5759)
|
'exec', // used exec binary (https://github.com/symfony/symfony/issues/5759)
|
||||||
(new PhpExecutableFinder())->find(),
|
$phpFinder->find(),
|
||||||
'-S',
|
'-S',
|
||||||
sprintf('localhost:%d', WEBSERVER_PORT),
|
sprintf('localhost:%d', WEBSERVER_PORT),
|
||||||
'-t',
|
'-t',
|
||||||
|
|
Loading…
Reference in New Issue