Move EchoPush\Api namespace to MediaWiki\Extension\Notifications\Push\Api

Bug: T305667
Change-Id: I6168b386f532c83333cdc6700ba7e2917385a39c
This commit is contained in:
Reedy 2022-04-08 01:47:34 +01:00
parent c76761eff3
commit b64c1f3642
8 changed files with 7 additions and 8 deletions

View file

@ -1162,7 +1162,6 @@
"MediaWiki\\Extension\\Notifications\\Push\\PushNotifier": "includes/Push/PushNotifier.php"
},
"AutoloadNamespaces": {
"EchoPush\\Api\\": "includes/api/Push/",
"MediaWiki\\Extension\\Notifications\\": "includes/"
},
"TestAutoloadClasses": {

View file

@ -18,7 +18,6 @@ use EchoModerationController;
use EchoNotification;
use EchoNotificationController;
use EchoNotificationMapper;
use EchoPush\Api\ApiEchoPushSubscriptions;
use EchoSeenTime;
use EchoServices;
use EmailNotification;
@ -28,6 +27,7 @@ use HTMLCheckMatrix;
use LinksUpdate;
use LogEntry;
use MailAddress;
use MediaWiki\Extension\Notifications\Push\Api\ApiEchoPushSubscriptions;
use MediaWiki\Hook\RecentChange_saveHook;
use MediaWiki\Logger\LoggerFactory;
use MediaWiki\MediaWikiServices;

View file

@ -1,6 +1,6 @@
<?php
namespace EchoPush\Api;
namespace MediaWiki\Extension\Notifications\Push\Api;
use ApiBase;
use ApiModuleManager;

View file

@ -1,6 +1,6 @@
<?php
namespace EchoPush\Api;
namespace MediaWiki\Extension\Notifications\Push\Api;
use ApiBase;
use ApiMain;

View file

@ -1,6 +1,6 @@
<?php
namespace EchoPush\Api;
namespace MediaWiki\Extension\Notifications\Push\Api;
use ApiBase;
use ApiMain;

View file

@ -6,7 +6,7 @@ use MediaWiki\Extension\Notifications\Push\Utils;
* @group medium
* @group API
* @group Database
* @covers \EchoPush\Api\ApiEchoPushSubscriptionsCreate
* @covers \MediaWiki\Extension\Notifications\Push\Api\ApiEchoPushSubscriptionsCreate
*/
class ApiEchoPushSubscriptionsCreateTest extends ApiTestCase {

View file

@ -6,7 +6,7 @@ use MediaWiki\Extension\Notifications\Push\Utils;
* @group medium
* @group API
* @group Database
* @covers \EchoPush\Api\ApiEchoPushSubscriptionsDelete
* @covers \MediaWiki\Extension\Notifications\Push\Api\ApiEchoPushSubscriptionsDelete
*/
class ApiEchoPushSubscriptionsDeleteTest extends ApiTestCase {

View file

@ -3,7 +3,7 @@
/**
* @group medium
* @group API
* @covers \EchoPush\Api\ApiEchoPushSubscriptions
* @covers \MediaWiki\Extension\Notifications\Push\Api\ApiEchoPushSubscriptions
*/
class ApiEchoPushSubscriptionsTest extends ApiTestCase {