Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed May 13, 2021
1 parent 848361f commit 903dfab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions scoper.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,6 @@ function (string $filePath, string $prefix, string $content): string {
);
},

// unprefixed ContainerConfigurator
function (string $filePath, string $prefix, string $content): string {
return Strings::replace(
$content, '
#' . $prefix . '\\\\Symfony\\\\Component\\\\DependencyInjection\\\\Loader\\\\Configurator\\\\ContainerConfigurator#',
'Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator'
);
},

// get version for prefixed version
function (string $filePath, string $prefix, string $content): string {
if (! Strings::endsWith($filePath, 'src/Configuration/Configuration.php')) {
Expand Down
2 changes: 1 addition & 1 deletion utils/compiler/src/PhpScoper/StaticEasyPrefixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ final class StaticEasyPrefixer
*/
public const EXCLUDED_CLASSES = [
// part of public interface of configs.php
// 'Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator',
'Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator',
// this is not prefixed on few places by php-scoper by default, probably some bug
'Doctrine\Inflector\Inflector',
// for SmartFileInfo
Expand Down

0 comments on commit 903dfab

Please sign in to comment.