Skip to content

Commit

Permalink
Fix downgrade build (#4820)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Aug 20, 2023
1 parent cc46e7f commit 74d9188
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions scoper.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,6 @@
),
);

$polyfillsStubs = array_map(
static fn (SplFileInfo $fileInfo): string => $fileInfo->getPathname(),
iterator_to_array(
Finder::create()
->files()
->in(__DIR__ . '/vendor/symfony/polyfill-*/Resources/stubs')
->name('*.php'),
false,
),
);

// see https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#configuration
return [
'prefix' => 'RectorPrefix' . $timestamp,
Expand All @@ -56,7 +45,6 @@
],
'exclude-files' => [
...$polyfillsBootstraps,
...$polyfillsStubs,
],

// expose
Expand Down

0 comments on commit 74d9188

Please sign in to comment.