-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathscoper.inc.php
51 lines (44 loc) · 1.38 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
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
* The PHP-Scoper configuration.
*
* @package WooCommerce\PayPalCommerce
*/
declare(strict_types=1);
namespace WooCommerce\PayPalCommerce;
use Isolated\Symfony\Component\Finder\Finder;
$finders = array(
Finder::create()
->files()
->ignoreVCS( true )
->ignoreDotFiles( false ) // We need to keep .distignore around.
->exclude(
array(
'.github',
'.ddev',
'.idea',
'.psalm',
'tests',
)
)
->in( '.' ),
);
return array(
'prefix' => 'WooCommerce\\PayPalCommerce\\Vendor',
'finders' => $finders,
'patchers' => array(),
'exclude-files' => array(), // list<string>.
'exclude-namespaces' => array(
'/^(?!Psr).*/', // Exclude all namespaces except those starting with "Psr".
), // list<string|regex>.
'exclude-constants' => array(), // list<string|regex>.
'exclude-classes' => array(), // list<string|regex>.
'exclude-functions' => array(), // list<string|regex>.
'expose-global-constants' => false, // bool.
'expose-global-classes' => false, // bool.
'expose-global-functions' => false, // bool.
'expose-namespaces' => array(), // list<string|regex>.
'expose-constants' => array(), // list<string|regex>.
'expose-classes' => array(), // list<string|regex>.
'expose-functions' => array(), // list<string|regex>.
);