wikimedia/mediawiki-extensions-Translate

View on GitHub
src/MessageBundleTranslation/UpdateMessageBundleJob.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method run has 65 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function run(): bool {
        $mwInstance = MediaWikiServices::getInstance();
        $lb = $mwInstance->getDBLoadBalancerFactory();
        $jobQueue = $mwInstance->getJobQueueGroup();
        $logger = LoggerFactory::getInstance( 'Translate.MessageBundle' );
Severity: Major
Found in src/MessageBundleTranslation/UpdateMessageBundleJob.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status