Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
AbuseFilterActorMigration | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 9 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Extension\AbuseFilter; |
4 | |
5 | use MediaWiki\User\ActorMigrationBase; |
6 | use MediaWiki\User\ActorStoreFactory; |
7 | |
8 | /** |
9 | * Temporary class for actor migration |
10 | */ |
11 | class AbuseFilterActorMigration extends ActorMigrationBase { |
12 | |
13 | public const SERVICE_NAME = 'AbuseFilterActorMigration'; |
14 | |
15 | /** |
16 | * @param int $stage |
17 | * @param ActorStoreFactory $actorStoreFactory |
18 | */ |
19 | public function __construct( $stage, ActorStoreFactory $actorStoreFactory ) { |
20 | parent::__construct( |
21 | [ |
22 | 'af_user' => [], |
23 | 'afh_user' => [], |
24 | ], |
25 | $stage, |
26 | $actorStoreFactory, |
27 | [ 'allowUnknown' => false ] |
28 | ); |
29 | } |
30 | |
31 | } |