Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
33.33% |
1 / 3 |
|
33.33% |
1 / 3 |
CRAP | |
0.00% |
0 / 1 |
| phpbb_dbal_migration_unfulfillable | |
33.33% |
1 / 3 |
|
33.33% |
1 / 3 |
5.67 | |
0.00% |
0 / 1 |
| depends_on | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| update_schema | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| update_data | |
0.00% |
0 / 1 |
|
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_dbal_migration_unfulfillable extends \phpbb\db\migration\migration |
| 15 | { |
| 16 | static public function depends_on() |
| 17 | { |
| 18 | return array('installed_migration', 'phpbb_dbal_migration_dummy', 'non_existant_migration'); |
| 19 | } |
| 20 | |
| 21 | function update_schema() |
| 22 | { |
| 23 | trigger_error('Schema update of migration with unfulfillable dependency was run!'); |
| 24 | } |
| 25 | |
| 26 | function update_data() |
| 27 | { |
| 28 | trigger_error('Data update of migration with unfulfillable dependency was run!'); |
| 29 | } |
| 30 | } |