From 726ee89936aa92c27b09589c8c4355930a414665 Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Thu, 14 Aug 2014 13:03:09 +0200 Subject: [PATCH] [SoapClient] [Tests] Down required version of symfony/filesystem vendor --- composer.json | 2 +- src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php | 2 +- src/BeSimple/SoapClient/composer.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 4dd31e4..061b310 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "require-dev": { "ext-mcrypt": "*", "mikey179/vfsStream": "dev-master", - "symfony/filesystem": "~2.3", + "symfony/filesystem": "~2.0", "symfony/process": "~2.3" }, "autoload": { diff --git a/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php b/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php index 9597ca6..2027b2d 100644 --- a/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php +++ b/src/BeSimple/SoapClient/Tests/WsdlDownloaderTest.php @@ -274,7 +274,7 @@ class WsdlDownloaderTest extends AbstractWebserverTest $content = file_get_contents(self::$fixturesPath.$file); $content = preg_replace('#'.preg_quote('%location%').'#', sprintf('localhost:%d', WEBSERVER_PORT), $content); - self::$filesystem->dumpFile(self::$fixturesPath.'build_include'.DIRECTORY_SEPARATOR.pathinfo($file, PATHINFO_BASENAME), $content); + file_put_contents(self::$fixturesPath.'build_include'.DIRECTORY_SEPARATOR.pathinfo($file, PATHINFO_BASENAME), $content); } } diff --git a/src/BeSimple/SoapClient/composer.json b/src/BeSimple/SoapClient/composer.json index dc2c633..9b1b7ab 100644 --- a/src/BeSimple/SoapClient/composer.json +++ b/src/BeSimple/SoapClient/composer.json @@ -28,7 +28,7 @@ }, "require-dev": { "mikey179/vfsStream": "dev-master", - "symfony/filesystem": "~2.3", + "symfony/filesystem": "~2.0", "symfony/process": "~2.3" }, "autoload": {