From 31515355f4de8f04f99ba7a2f1eac6a1ce1233e0 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Wed, 14 Feb 2024 15:40:48 +0100 Subject: [PATCH] Fix CI (#237) --- .github/workflows/ci.yml | 1 + tests/StreamingTest.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9acd05d..4af1d7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} + ini-values: zend.max_allowed_stack_size=-1 tools: composer:v2 coverage: none diff --git a/tests/StreamingTest.php b/tests/StreamingTest.php index 9d07184..689ea01 100644 --- a/tests/StreamingTest.php +++ b/tests/StreamingTest.php @@ -27,7 +27,7 @@ public function sourceAndTargetProvider(): Generator 'File' => fn() => Target::newToFile(tempnam(sys_get_temp_dir(), 'image')), 'Memory' => fn() => Target::newToMemory(), 'Resource' => fn() => new TargetResource(fopen('php://memory', 'wb+')), - 'Resource(Not Readable)' => fn() => new TargetResource(fopen('php://memory', 'wb')) + 'Resource (not readable)' => fn() => new TargetResource(fopen('php://memory', 'wb')) ]; foreach ($sources as $sourceName => $source) {