From 9d6d7d01d3fa8b11d7133f28a0e72d887d487ce1 Mon Sep 17 00:00:00 2001 From: Matt Bonneau Date: Sat, 14 Dec 2019 13:10:40 -0500 Subject: [PATCH] Don't run ini_set tests in php 5 because it crashes --- tests/unit/Messaging/MessageBufferTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/Messaging/MessageBufferTest.php b/tests/unit/Messaging/MessageBufferTest.php index ee36b38..9d444bc 100644 --- a/tests/unit/Messaging/MessageBufferTest.php +++ b/tests/unit/Messaging/MessageBufferTest.php @@ -317,6 +317,7 @@ class MessageBufferTest extends \PHPUnit_Framework_TestCase * @param int $expectedLimit * * @runInSeparateProcess + * @requires PHP >= 7.0 */ public function testIniSizes($phpConfigurationValue, $expectedLimit) { ini_set('memory_limit', $phpConfigurationValue); @@ -343,6 +344,7 @@ class MessageBufferTest extends \PHPUnit_Framework_TestCase /** * @runInSeparateProcess + * @requires PHP >= 7.0 */ public function testInvalidIniSize() { ini_set('memory_limit', 'lots of memory');