From 647827eff2e76ddd6703dbabfdac82ffd0811551 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Tue, 18 Jun 2024 13:38:26 +0200 Subject: [PATCH] Limit export of arrays to 10 elements in configuration file generated using --generate-configuration --- src/TextUI/Configuration/Xml/Generator.php | 1 + tests/unit/TextUI/Configuration/Xml/GeneratorTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/TextUI/Configuration/Xml/Generator.php b/src/TextUI/Configuration/Xml/Generator.php index db2060fbf23..016b5a7403e 100644 --- a/src/TextUI/Configuration/Xml/Generator.php +++ b/src/TextUI/Configuration/Xml/Generator.php @@ -26,6 +26,7 @@ bootstrap="{bootstrap_script}" cacheDirectory="{cache_directory}" executionOrder="depends,defects" + shortenArraysForExportThreshold="10" requireCoverageMetadata="true" beStrictAboutCoverageMetadata="true" beStrictAboutOutputDuringTests="true" diff --git a/tests/unit/TextUI/Configuration/Xml/GeneratorTest.php b/tests/unit/TextUI/Configuration/Xml/GeneratorTest.php index fe30b8b8847..dc078b3a6db 100644 --- a/tests/unit/TextUI/Configuration/Xml/GeneratorTest.php +++ b/tests/unit/TextUI/Configuration/Xml/GeneratorTest.php @@ -28,6 +28,7 @@ public function testGeneratesConfigurationCorrectly(): void bootstrap="vendor/autoload.php" cacheDirectory=".phpunit.cache" executionOrder="depends,defects" + shortenArraysForExportThreshold="10" requireCoverageMetadata="true" beStrictAboutCoverageMetadata="true" beStrictAboutOutputDuringTests="true"