Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 5 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
| phpbb_mock_dummy_router | |
0.00% |
0 / 5 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| get_matcher | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| get_generator | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| 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 | class phpbb_mock_dummy_router extends phpbb_mock_router |
| 15 | { |
| 16 | public function __construct() |
| 17 | { |
| 18 | } |
| 19 | |
| 20 | public function get_matcher() |
| 21 | { |
| 22 | $this->create_new_url_matcher(); |
| 23 | return parent::get_matcher(); |
| 24 | } |
| 25 | |
| 26 | public function get_generator() |
| 27 | { |
| 28 | $this->create_new_url_generator(); |
| 29 | return parent::get_generator(); |
| 30 | } |
| 31 | } |