Skip to content

Commit 9eed22f

Browse files
authored
Keep file permission on FileSystem::write() with pass null on 3rd arg (#31)
* Keep file mode on FileSystem::write() with pass null on 3rd arg * fix test
1 parent 92237fa commit 9eed22f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Composer/ComposerOutdatedResponseProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function provide(): string
3434
$processResult = $composerOutdatedProcess->getOutput();
3535

3636
if (is_string($composerOutdatedFilePath)) {
37-
FileSystem::write($composerOutdatedFilePath, $processResult);
37+
FileSystem::write($composerOutdatedFilePath, $processResult, null);
3838
}
3939

4040
return $processResult;

tests/ComposerProcessor/RaiseToInstalledComposerProcessor/RaiseToInstalledComposerProcessorTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static function provideSkipSuggestChangeFiles(): iterable
6060
<<<'JSON'
6161
{
6262
"require-dev": {
63-
"illuminate/container": "^12.25"
63+
"illuminate/container": "^12.26"
6464
},
6565
"suggest": {
6666
"illuminate/container": "to use container"
@@ -78,7 +78,7 @@ public static function provideSkipSuggestChangeFiles(): iterable
7878
"illuminate/container": "to use container"
7979
},
8080
"require-dev": {
81-
"illuminate/container": "^12.25"
81+
"illuminate/container": "^12.26"
8282
}
8383
}
8484

@@ -118,7 +118,7 @@ public function testSkipConflictChange(): void
118118
<<<'JSON'
119119
{
120120
"require-dev": {
121-
"illuminate/container": "^12.25"
121+
"illuminate/container": "^12.26"
122122
},
123123
"conflict": {
124124
"illuminate/container": "<9.0"

0 commit comments

Comments
 (0)