summaryrefslogtreecommitdiff
path: root/vendor/symfony/intl/Tests/Data/Bundle/Writer/PhpBundleWriterTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/intl/Tests/Data/Bundle/Writer/PhpBundleWriterTest.php')
-rw-r--r--vendor/symfony/intl/Tests/Data/Bundle/Writer/PhpBundleWriterTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/symfony/intl/Tests/Data/Bundle/Writer/PhpBundleWriterTest.php b/vendor/symfony/intl/Tests/Data/Bundle/Writer/PhpBundleWriterTest.php
index f5921023da..ee7b12f1ed 100644
--- a/vendor/symfony/intl/Tests/Data/Bundle/Writer/PhpBundleWriterTest.php
+++ b/vendor/symfony/intl/Tests/Data/Bundle/Writer/PhpBundleWriterTest.php
@@ -68,6 +68,10 @@ class PhpBundleWriterTest extends \PHPUnit_Framework_TestCase
*/
public function testWriteResourceBundle()
{
+ if (PHP_VERSION_ID < 50315 || (PHP_VERSION_ID >= 50400 && PHP_VERSION_ID < 50404)) {
+ $this->markTestSkipped('ResourceBundle implements Traversable only as of PHP 5.3.15 and 5.4.4');
+ }
+
$bundle = new \ResourceBundle('rb', __DIR__.'/Fixtures', false);
$this->writer->write($this->directory, 'en', $bundle);