Fixed syntax for PHP 5.3

This commit is contained in:
Francis Besset 2013-07-24 23:44:50 +02:00
parent 9487e3a9e7
commit fe4e821ff5
1 changed files with 2 additions and 1 deletions

View File

@ -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',