From 6284b452833208a0dd4e9bbc1a57a937b4191cd1 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 31 Aug 2025 23:08:36 +0700 Subject: [PATCH 1/2] Keep file mode on FileSystem::write() with pass null on 3rd arg --- src/Composer/ComposerOutdatedResponseProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/ComposerOutdatedResponseProvider.php b/src/Composer/ComposerOutdatedResponseProvider.php index 3e99acc..a61b46b 100644 --- a/src/Composer/ComposerOutdatedResponseProvider.php +++ b/src/Composer/ComposerOutdatedResponseProvider.php @@ -34,7 +34,7 @@ public function provide(): string $processResult = $composerOutdatedProcess->getOutput(); if (is_string($composerOutdatedFilePath)) { - FileSystem::write($composerOutdatedFilePath, $processResult); + FileSystem::write($composerOutdatedFilePath, $processResult, null); } return $processResult; From b9580c4cac980084521386d74073bf4038b41620 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 31 Aug 2025 23:14:25 +0700 Subject: [PATCH 2/2] fix test --- .../RaiseToInstalledComposerProcessorTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ComposerProcessor/RaiseToInstalledComposerProcessor/RaiseToInstalledComposerProcessorTest.php b/tests/ComposerProcessor/RaiseToInstalledComposerProcessor/RaiseToInstalledComposerProcessorTest.php index 6dc0b6a..9f14a2e 100644 --- a/tests/ComposerProcessor/RaiseToInstalledComposerProcessor/RaiseToInstalledComposerProcessorTest.php +++ b/tests/ComposerProcessor/RaiseToInstalledComposerProcessor/RaiseToInstalledComposerProcessorTest.php @@ -60,7 +60,7 @@ public static function provideSkipSuggestChangeFiles(): iterable <<<'JSON' { "require-dev": { - "illuminate/container": "^12.25" + "illuminate/container": "^12.26" }, "suggest": { "illuminate/container": "to use container" @@ -78,7 +78,7 @@ public static function provideSkipSuggestChangeFiles(): iterable "illuminate/container": "to use container" }, "require-dev": { - "illuminate/container": "^12.25" + "illuminate/container": "^12.26" } } @@ -118,7 +118,7 @@ public function testSkipConflictChange(): void <<<'JSON' { "require-dev": { - "illuminate/container": "^12.25" + "illuminate/container": "^12.26" }, "conflict": { "illuminate/container": "<9.0"