Skip to content

Commit ab5c217

Browse files
committed
Fix Core_d path in PHAR
1 parent d13cac3 commit ab5c217

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

compiler/build/scoper.inc.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,13 @@ function (string $filePath, string $prefix, string $content): string {
212212
}
213213

214214
return str_replace(sprintf('%s\\Attribute', $prefix), 'Attribute', $content);
215+
},
216+
function (string $filePath, string $prefix, string $content): string {
217+
if ($filePath !== 'vendor/ondrejmirtes/better-reflection/src/SourceLocator/SourceStubber/PhpStormStubsSourceStubber.php') {
218+
return $content;
219+
}
220+
221+
return str_replace('Core/Core_d.php', 'Core/Core_d.stub', $content);
215222
}
216223
],
217224
'whitelist' => [

0 commit comments

Comments
 (0)