Use namespaced FormatJson class

Change-Id: I54cfdbcadbc8331ff51b8fa6d661a4a3759b0dad
This commit is contained in:
Umherirrender 2024-07-05 00:08:57 +02:00
parent b904cffa53
commit 519387f7b6
4 changed files with 4 additions and 4 deletions

View file

@ -20,9 +20,9 @@
namespace MediaWiki\Extension\OATHAuth\Maintenance; namespace MediaWiki\Extension\OATHAuth\Maintenance;
use FormatJson;
use LoggedUpdateMaintenance; use LoggedUpdateMaintenance;
use MediaWiki\Extension\OATHAuth\OATHAuthServices; use MediaWiki\Extension\OATHAuth\OATHAuthServices;
use MediaWiki\Json\FormatJson;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
if ( getenv( 'MW_INSTALL_PATH' ) ) { if ( getenv( 'MW_INSTALL_PATH' ) ) {

View file

@ -25,8 +25,8 @@
namespace MediaWiki\Extension\OATHAuth\Maintenance; namespace MediaWiki\Extension\OATHAuth\Maintenance;
use FormatJson;
use LoggedUpdateMaintenance; use LoggedUpdateMaintenance;
use MediaWiki\Json\FormatJson;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
if ( getenv( 'MW_INSTALL_PATH' ) ) { if ( getenv( 'MW_INSTALL_PATH' ) ) {

View file

@ -20,8 +20,8 @@ namespace MediaWiki\Extension\OATHAuth\Api\Module;
use ApiBase; use ApiBase;
use ApiResult; use ApiResult;
use FormatJson;
use MediaWiki\Extension\OATHAuth\IModule; use MediaWiki\Extension\OATHAuth\IModule;
use MediaWiki\Json\FormatJson;
use MediaWiki\Logger\LoggerFactory; use MediaWiki\Logger\LoggerFactory;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use Wikimedia\ParamValidator\ParamValidator; use Wikimedia\ParamValidator\ParamValidator;

View file

@ -19,11 +19,11 @@
namespace MediaWiki\Extension\OATHAuth; namespace MediaWiki\Extension\OATHAuth;
use BagOStuff; use BagOStuff;
use FormatJson;
use InvalidArgumentException; use InvalidArgumentException;
use MediaWiki\Config\ConfigException; use MediaWiki\Config\ConfigException;
use MediaWiki\Context\RequestContext; use MediaWiki\Context\RequestContext;
use MediaWiki\Extension\OATHAuth\Notifications\Manager; use MediaWiki\Extension\OATHAuth\Notifications\Manager;
use MediaWiki\Json\FormatJson;
use MediaWiki\User\CentralId\CentralIdLookupFactory; use MediaWiki\User\CentralId\CentralIdLookupFactory;
use MediaWiki\User\User; use MediaWiki\User\User;
use MWException; use MWException;