mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 23:11:45 +02:00
[ticket/17281] Update psalm config and fix issues
PHPBB3-17281
This commit is contained in:
@@ -587,7 +587,7 @@ class container_builder
|
||||
$this->config_php_file->get('dbname'),
|
||||
$this->config_php_file->get('dbport'),
|
||||
false,
|
||||
defined('PHPBB_DB_NEW_LINK') && PHPBB_DB_NEW_LINK
|
||||
defined('PHPBB_DB_NEW_LINK') ? PHPBB_DB_NEW_LINK : false
|
||||
);
|
||||
}
|
||||
$this->container->set('dbal.conn.driver', $this->dbal_connection);
|
||||
|
@@ -28,6 +28,7 @@ class container_configuration implements ConfigurationInterface
|
||||
{
|
||||
$treeBuilder = new TreeBuilder('core');
|
||||
$rootNode = $treeBuilder->getRootNode();
|
||||
/** @psalm-suppress UndefinedMethod */
|
||||
$rootNode
|
||||
->children()
|
||||
->booleanNode('require_dev_dependencies')->defaultValue(false)->end()
|
||||
|
Reference in New Issue
Block a user