mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-23 15:56:59 +00:00
Use namespaced FormatJson class
Change-Id: I54cfdbcadbc8331ff51b8fa6d661a4a3759b0dad
This commit is contained in:
parent
b904cffa53
commit
519387f7b6
|
@ -20,9 +20,9 @@
|
|||
|
||||
namespace MediaWiki\Extension\OATHAuth\Maintenance;
|
||||
|
||||
use FormatJson;
|
||||
use LoggedUpdateMaintenance;
|
||||
use MediaWiki\Extension\OATHAuth\OATHAuthServices;
|
||||
use MediaWiki\Json\FormatJson;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
|
||||
if ( getenv( 'MW_INSTALL_PATH' ) ) {
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
|
||||
namespace MediaWiki\Extension\OATHAuth\Maintenance;
|
||||
|
||||
use FormatJson;
|
||||
use LoggedUpdateMaintenance;
|
||||
use MediaWiki\Json\FormatJson;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
|
||||
if ( getenv( 'MW_INSTALL_PATH' ) ) {
|
||||
|
|
|
@ -20,8 +20,8 @@ namespace MediaWiki\Extension\OATHAuth\Api\Module;
|
|||
|
||||
use ApiBase;
|
||||
use ApiResult;
|
||||
use FormatJson;
|
||||
use MediaWiki\Extension\OATHAuth\IModule;
|
||||
use MediaWiki\Json\FormatJson;
|
||||
use MediaWiki\Logger\LoggerFactory;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use Wikimedia\ParamValidator\ParamValidator;
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
namespace MediaWiki\Extension\OATHAuth;
|
||||
|
||||
use BagOStuff;
|
||||
use FormatJson;
|
||||
use InvalidArgumentException;
|
||||
use MediaWiki\Config\ConfigException;
|
||||
use MediaWiki\Context\RequestContext;
|
||||
use MediaWiki\Extension\OATHAuth\Notifications\Manager;
|
||||
use MediaWiki\Json\FormatJson;
|
||||
use MediaWiki\User\CentralId\CentralIdLookupFactory;
|
||||
use MediaWiki\User\User;
|
||||
use MWException;
|
||||
|
|
Loading…
Reference in a new issue