forked from qossmic/deptrac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscoper.inc.php
29 lines (25 loc) · 828 Bytes
/
scoper.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
declare(strict_types=1);
use Isolated\Symfony\Component\Finder\Finder as IsolatedFinder;
$polyfillsBootstrap = IsolatedFinder::create()
->files()
->in(__DIR__ . '/vendor/symfony/polyfill-*')
->name('*.php');
return [
'prefix' => null, // string|null
'finders' => [], // Finder[]
'patchers' => [], // callable[]
'exclude-files' => array_map(
static function ($file) {
return $file->getPathName();
},
iterator_to_array($polyfillsBootstrap)
),
'exclude-namespaces' => [
'Qossmic\Deptrac',
'Symfony\Polyfill',
],
'expose-global-constants' => true, // bool
'expose-global-classes' => true, // bool
'expose-global-functions' => true, // bool
];