includes/jobqueue/jobs/ParsoidCachePrewarmJob.php
Method doParsoidCacheUpdate
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function doParsoidCacheUpdate() {
$page = $this->pageLookup->getPageById( $this->params['pageId'] );
$revId = $this->params['revId'];
if ( $page === null ) {
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array $params,
ParserOutputAccess $parserOutputAccess,
PageLookup $pageLookup,
RevisionLookup $revisionLookup,
ParsoidSiteConfig $parsoidSiteConfig