mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
remove unused CompilerPass
This commit is contained in:
parent
9abf14f558
commit
77f838c358
@ -1,20 +0,0 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Rector\DependencyInjection\CompilerPass;
|
||||
|
||||
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
|
||||
final class MakeServicesPublicCompilerPass implements CompilerPassInterface
|
||||
{
|
||||
public function process(ContainerBuilder $containerBuilder): void
|
||||
{
|
||||
foreach ($containerBuilder->getDefinitions() as $definition) {
|
||||
$definition->setPublic(true);
|
||||
}
|
||||
|
||||
foreach ($containerBuilder->getAliases() as $definition) {
|
||||
$definition->setPublic(true);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user