Skip to content

Commit d411ee6

Browse files
committed
exclude spl file info from scoper
1 parent 56ffab2 commit d411ee6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scoper.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
return [
1515
'prefix' => 'SwissKnife' . $timestamp,
1616
'expose-constants' => ['#^SYMFONY\_[\p{L}_]+$#'],
17+
'exclude-classes' => [
18+
\Symfony\Component\Finder\SplFileInfo::class,
19+
],
1720
'exclude-namespaces' => [
1821
'#^Rector\\\\SwissKnife#',
1922
'#^Symfony\\\\Polyfill#',

0 commit comments

Comments
 (0)