Skip to content

Commit 180dc9b

Browse files
committed
fix: Don't leak global functions in php scoper
fixes #1410 Signed-off-by: Marcel Klehr <[email protected]>
1 parent 956e614 commit 180dc9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scoper.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ static function (string $filePath, string $prefix, string $content): string {
3535
return $content;
3636
},
3737
],
38+
'expose-global-functions' => false,
3839
];

0 commit comments

Comments
 (0)