From fe4e821ff51ab8a69280438d9187a2407fbb40a3 Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Wed, 24 Jul 2013 23:44:50 +0200 Subject: [PATCH] Fixed syntax for PHP 5.3 --- src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php b/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php index 54e5be4..a7bc6d4 100644 --- a/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php +++ b/src/BeSimple/SoapClient/Tests/AbstractWebserverTest.php @@ -32,9 +32,10 @@ abstract class AbstractWebServerTest extends \PHPUnit_Framework_TestCase self::markTestSkipped('PHP Webserver is available from PHP 5.4'); } + $phpFinder = new PhpExecutableFinder(); self::$webserver = ProcessBuilder::create(array( 'exec', // used exec binary (https://github.com/symfony/symfony/issues/5759) - (new PhpExecutableFinder())->find(), + $phpFinder->find(), '-S', sprintf('localhost:%d', WEBSERVER_PORT), '-t',