Skip to content

Commit 1c9216a

Browse files
Andreas Frömericanhazstring
Andreas Frömer
authored andcommitted
Expose ComposerUnused\Configuration to be able to access configuration classes Signed-off-by: Andreas Frömer <[email protected]>
1 parent 5fff0a9 commit 1c9216a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scoper.inc.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
__DIR__ . '/vendor/symfony/polyfill-intl-normalizer',
1616
__DIR__ . '/vendor/symfony/polyfill-intl-grapheme',
1717
]) as $file) {
18-
if ($file->getPathName() === '../../vendor/jetbrains/phpstorm-stubs/PhpStormStubsMap.php') {
19-
continue;
20-
}
2118
$stubs[] = $file->getPathName();
2219
}
2320

@@ -62,14 +59,17 @@
6259
//
6360
// Fore more see https://github.com/humbug/php-scoper#whitelist
6461
'whitelist' => [
65-
\ComposerUnused\ComposerUnused\Configuration\Configuration::class,
6662
\Webmozart\Glob\Glob::class,
6763
'Symfony\Polyfill\Php80\*',
6864
'Symfony\Polyfill\Mbstring\*',
6965
'Symfony\Polyfill\Intl\Normalizer\*',
7066
'Symfony\Polyfill\Intl\Grapheme\*',
7167
],
68+
'exclude-namespaces' => [
69+
#'ComposerUnused\ComposerUnused\Configuration'
70+
],
7271
'expose-namespaces' => [
73-
'Symfony\Polyfill\*'
72+
'Symfony\Polyfill',
73+
'ComposerUnused\ComposerUnused\Configuration'
7474
]
7575
];

0 commit comments

Comments
 (0)