Skip to content

Commit

Permalink
remove unused ScoperOption
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jun 6, 2022
1 parent 1d57701 commit ae4e6ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 39 deletions.
6 changes: 3 additions & 3 deletions scoper.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@

// see https://github.com/humbug/php-scoper
return [
ScoperOption::PREFIX => 'RectorPrefix' . $timestamp,
ScoperOption::WHITELIST => StaticEasyPrefixer::getExcludedNamespacesAndClasses(),
ScoperOption::PATCHERS => [
'prefix' => 'RectorPrefix' . $timestamp,
'whitelist' => StaticEasyPrefixer::getExcludedNamespacesAndClasses(),
'patchers' => [
function (string $filePath, string $prefix, string $content): string {
foreach (UNPREFIX_CLASSES_BY_FILE as $endFilePath => $unprefixClasses) {
if (! \str_ends_with($filePath, $endFilePath)) {
Expand Down
36 changes: 0 additions & 36 deletions utils/compiler/src/ValueObject/ScoperOption.php

This file was deleted.

0 comments on commit ae4e6ac

Please sign in to comment.