repo/rest-api/src/WbRestApi.php
WbRestApi
has 86 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class WbRestApi {
public static function getGetItem( ContainerInterface $services = null ): GetItem {
return ( $services ?: MediaWikiServices::getInstance() )
->get( 'WbRestApi.GetItem' );
File WbRestApi.php
has 434 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php declare( strict_types=1 );
namespace Wikibase\Repo\RestApi;
use MediaWiki\MediaWikiServices;