repo/includes/UpdateRepo/UpdateRepoJob.php
Method getItem
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getItem(): ?Item {
$params = $this->getParams();
$itemId = new ItemId( $params['entityId'] );
try {
$entity = $this->entityLookup->getEntity( $itemId );
Method initRepoJobServices
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityLookup $entityLookup,
EntityStore $entityStore,
SummaryFormatter $summaryFormatter,
LoggerInterface $logger,
MediaWikiEditEntityFactory $editEntityFactory,