mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 15:01:33 +02:00
[ticket/16649] Add compiler pass to tests
PHPBB3-16649
This commit is contained in:
@@ -36,5 +36,13 @@ class markpublic_pass implements CompilerPassInterface
|
||||
$definition->setPublic(true);
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($container->getAliases() as $alias)
|
||||
{
|
||||
if ($alias->isPrivate())
|
||||
{
|
||||
$alias->setPublic(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user