Skip to content

Commit d00a407

Browse files
committedDec 11, 2021
More prefix fixing
1 parent 84630d4 commit d00a407

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎compiler/build/scoper.inc.php

+7
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,13 @@ function (string $filePath, string $prefix, string $content): string {
236236
}
237237

238238
return str_replace('Core/Core_d.php', 'Core/Core_d.stub', $content);
239+
},
240+
function (string $filePath, string $prefix, string $content): string {
241+
if ($filePath !== 'vendor/ondrejmirtes/better-reflection/src/SourceLocator/SourceStubber/PhpStormStubsSourceStubber.php') {
242+
return $content;
243+
}
244+
245+
return str_replace(sprintf('\'%s\\\\JetBrains\\\\', $prefix), '\'JetBrains\\\\', $content);
239246
}
240247
],
241248
'whitelist' => [

0 commit comments

Comments
 (0)