From 404f0f34b958834efd854eb1e015085d9a73af86 Mon Sep 17 00:00:00 2001 From: Jan-Niclas Loosen Date: Sun, 27 Sep 2026 00:29:37 +0200 Subject: [PATCH] test: raise memory_limit for the unit suite (512M) Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01At3V6SjwbMe6eMzVGW3Hs7 --- composer.json | 2 +- phpunit.xml.dist | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e7c6ee8..875196c 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "psr-4": { "LIT\\MCP\\Tests\\": "tests/" } }, "scripts": { - "test": "@php vendor/bin/phpunit", + "test": "@php -d memory_limit=512M vendor/bin/phpunit", "lint": "@php vendor/bin/phpcs" }, "config": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6e7b6d4..e809d59 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -3,6 +3,10 @@ xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" bootstrap="tests/bootstrap.php" colors="true"> + + + + tests/Unit