-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathscoper.inc.php
More file actions
18 lines (17 loc) · 634 Bytes
/
scoper.inc.php
File metadata and controls
18 lines (17 loc) · 634 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php declare(strict_types=1);
return [
// Whitelist globals so that Symfony polyfills are not scoped
'expose-global-constants' => true,
'expose-global-classes' => true,
'expose-global-functions' => true,
'exclude-files' => [
'vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php',
'vendor/symfony/polyfill-php80/bootstrap.php',
'vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
'vendor/symfony/polyfill-intl-normalizer/bootstrap.php',
],
'expose-namespaces' => [
'Symfony\Polyfill\Php80',
'Symfony\Polyfill\Intl',
],
];