Skip to content

Commit 309551d

Browse files
committed
Fixed #145 ClassLoader namespace has escaped slashes
1 parent 1831bbf commit 309551d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scoper.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static function (string $filePath, string $prefix, string $content): string {
5050
// Fix ClassLoader in string not being prefixed.
5151
if ($filePath === __DIR__ . '/build/vendor/composer/autoload_real.php') {
5252
$content = str_replace(
53-
'(\'Composer\Autoload\ClassLoader\' === $class)',
53+
'(\'Composer\\\\Autoload\\\\ClassLoader\' === $class)',
5454
'(\'RollbarWP\Composer\Autoload\ClassLoader\' === $class)',
5555
$content,
5656
);

0 commit comments

Comments
 (0)