-
Notifications
You must be signed in to change notification settings - Fork 2
/
.scoper.inc.php
40 lines (33 loc) · 1.13 KB
/
.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
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* PHP-Scoper configuration file.
*
* @see https://github.com/humbug/php-scoper#configuration
*
* @noinspection PhpUndefinedClassInspection
* @noinspection PhpUndefinedNamespaceInspection
*/
use Isolated\Symfony\Component\Finder\Finder;
return [
'prefix' => 'VNShipping\\Vendor',
// See: https://github.com/humbug/php-scoper#finders-and-paths.
'finders' => [
Finder::create()
->files()
->ignoreVCS(true)
->ignoreDotFiles(true)
->name(['*.php', 'LICENSE', 'composer.json'])
->in('vendor/symfony/options-resolver'),
// Main composer.json file so that we can build a classmap.
Finder::create()
->append(['composer.json']),
],
// See: https://github.com/humbug/php-scoper#patchers.
'patchers' => [],
// See https://github.com/humbug/php-scoper#whitelist.
'whitelist' => [],
// See https://github.com/humbug/php-scoper#constants--classes--functions-from-the-global-namespace.
'whitelist-global-classes' => false,
'whitelist-global-functions' => false,
'whitelist-global-constants' => false,
];