Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
7 / 7
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
phpbb_mock_extension_manager
100.00% covered (success)
100.00%
7 / 7
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
7 / 7
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2/**
3*
4* This file is part of the phpBB Forum Software package.
5*
6* @copyright (c) phpBB Limited <https://www.phpbb.com>
7* @license GNU General Public License, version 2 (GPL-2.0)
8*
9* For full copyright and license information, please see
10* the docs/CREDITS.txt file.
11*
12*/
13
14
15class phpbb_mock_extension_manager extends \phpbb\extension\manager
16{
17    public function __construct($phpbb_root_path, $extensions = array(), $container = null)
18    {
19        global $phpEx;
20
21        $lang = new \phpbb\language\language(new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx));
22        $this->phpbb_root_path = $phpbb_root_path;
23        $this->extensions = $extensions;
24        $this->container = $container;
25        $this->config = new \phpbb\config\config(array());
26        $this->finder_factory = new \phpbb\finder\factory(null, false, $this->phpbb_root_path, $phpEx);
27    }
28}