Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 15, 2023
1 parent eabb1f3 commit e7f5510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scoper.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

static function (string $filePath, string $prefix, string $content): string {
// comment out
return str_replace($prefix . '\trigger_deprecation(', '// \trigger_deprecation(', $content);
return str_replace('\\' . $prefix . '\trigger_deprecation(', '// \trigger_deprecation(', $content);
},

static function (string $filePath, string $prefix, string $content): string {
Expand Down

0 comments on commit e7f5510

Please sign in to comment.