Skip to content

Commit f116835

Browse files
marcelklehrbackportbot[bot]
authored andcommitted
fix: Don't leak global functions in php scoper
fixes #1410 Signed-off-by: Marcel Klehr <[email protected]>
1 parent 89a573f commit f116835

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)