Skip to content

Commit 02e2c24

Browse files
minor symfony#57607 [AssetMapper] Remove unreachable code line (smnandre)
This PR was merged into the 7.2 branch. Discussion ---------- [AssetMapper] Remove unreachable code line | Q | A | ------------- | --- | Branch? | 7.2 for features | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT Felt on this while trying to debug this FS thing.. Commits ------- c866bf3 [AssetMapper] Remove unreachable code line
2 parents 6c100c9 + c866bf3 commit 02e2c24

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/AssetMapper/Tests/ImportMap/RemotePackageStorageTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ public function testSaveThrowsWhenVendorDirectoryIsNotWritable()
5252
$this->expectException(\RuntimeException::class);
5353
$this->expectExceptionMessage('file_put_contents('.$vendorDir.'/module_specifier/module_specifier.index.js): Failed to open stream: No such file or directory');
5454
$storage->save($entry, 'any content');
55-
56-
$this->filesystem->remove($vendorDir);
5755
}
5856

5957
public function testIsDownloaded()

0 commit comments

Comments
 (0)