Skip to content

Commit f3805fa

Browse files
authored
Merge pull request #1414 from nextcloud/fix/php-scoper-global-functions
fix: Don't leak global functions in php scoper
2 parents 3f8622a + f4e9c1f commit f3805fa

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)