Skip to content

Commit 5dae881

Browse files
committed
Let's prefix InstalledVersions
1 parent 759e9d1 commit 5dae881

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

compiler/build/scoper.inc.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
'../../resources/functionMap_php80delta.php',
99
'../../resources/functionMetadata.php',
1010
'../../vendor/hoa/consistency/Prelude.php',
11-
'../../vendor/composer/InstalledVersions.php',
1211
'../../vendor/composer/installed.php',
1312
];
1413
$stubFinder = \Isolated\Symfony\Component\Finder\Finder::create();
@@ -149,13 +148,6 @@ function (string $filePath, string $prefix, string $content): string {
149148

150149
return str_replace(sprintf('%s\\Composer\\Autoload\\ClassLoader', $prefix), 'Composer\\Autoload\\ClassLoader', $content);
151150
},
152-
function (string $filePath, string $prefix, string $content): string {
153-
if ($filePath !== 'src/Internal/ComposerHelper.php') {
154-
return $content;
155-
}
156-
157-
return str_replace(sprintf('%s\\Composer\\InstalledVersions', $prefix), 'Composer\\InstalledVersions', $content);
158-
},
159151
function (string $filePath, string $prefix, string $content): string {
160152
if ($filePath !== 'vendor/jetbrains/phpstorm-stubs/PhpStormStubsMap.php') {
161153
return $content;

0 commit comments

Comments
 (0)