1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16649] Upgrade to Symfony 5

PHPBB3-16649
This commit is contained in:
rxu
2020-12-01 13:10:45 +07:00
parent 7110b61df5
commit 19b12bf6ee
133 changed files with 524 additions and 190 deletions

View File

@@ -52,7 +52,7 @@ namespace
$this->assertTrue($container->hasParameter('core'));
// Checks compile_container
$this->assertTrue($container->isFrozen());
$this->assertTrue($container->isCompiled());
// Checks inject_config
$this->assertTrue($container->hasParameter('core.table_prefix'));
@@ -74,7 +74,7 @@ namespace
// Checks the construction of a dumped container
$container = $this->builder->get_container();
$this->assertInstanceOf('phpbb_cache_container', $container);
$this->assertTrue($container->isFrozen());
$this->assertTrue($container->isCompiled());
}
public function test_tables_mapping()
@@ -102,7 +102,7 @@ namespace
$container = $this->builder->get_container();
$this->assertNotInstanceOf('phpbb_cache_container', $container);
$this->assertInstanceOf('Symfony\Component\DependencyInjection\ContainerBuilder', $container);
$this->assertTrue($container->isFrozen());
$this->assertTrue($container->isCompiled());
}
public function test_without_extensions()
@@ -127,7 +127,7 @@ namespace
$this->assertInstanceOf('Symfony\Component\DependencyInjection\ContainerBuilder', $container);
// Checks compile_container
$this->assertFalse($container->isFrozen());
$this->assertFalse($container->isCompiled());
}
public function test_with_config_path()