From b2c33cd432f5d814f53d96e370d655d870dcb82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Sun, 22 Oct 2023 15:55:22 +0200 Subject: [PATCH] fix --- tests/RequirementChecker/RequirementsDumperTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/RequirementChecker/RequirementsDumperTest.php b/tests/RequirementChecker/RequirementsDumperTest.php index 8e38a0794..7698f87c9 100644 --- a/tests/RequirementChecker/RequirementsDumperTest.php +++ b/tests/RequirementChecker/RequirementsDumperTest.php @@ -134,6 +134,7 @@ public static function jsonAndLockContentsProvider(): iterable array ( 'type' => 'php', 'condition' => '^7.4', + 'source' => 'acme/foo', 'message' => 'The package "acme/foo" requires a version matching "^7.4".', 'helpMessage' => 'The package "acme/foo" requires a version matching "^7.4".', ), @@ -141,6 +142,7 @@ public static function jsonAndLockContentsProvider(): iterable array ( 'type' => 'extension', 'condition' => 'zlib', + 'source' => NULL, 'message' => 'The application requires the extension "zlib".', 'helpMessage' => 'The application requires the extension "zlib". You either need to enable it or request the application to be shipped with a polyfill for this extension.', ), @@ -148,6 +150,7 @@ public static function jsonAndLockContentsProvider(): iterable array ( 'type' => 'extension', 'condition' => 'json', + 'source' => 'acme/foo', 'message' => 'The package "acme/foo" requires the extension "json".', 'helpMessage' => 'The package "acme/foo" requires the extension "json". You either need to enable it or request the application to be shipped with a polyfill for this extension.', ),