wikimedia/mediawiki-extensions-Translate

View on GitHub
src/WebService/TranslationWebService.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method factory has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function factory( string $serviceName, array $config ): ?TranslationWebService {
        $handlers = [
            'microsoft' => [
                'class' => MicrosoftWebService::class,
                'deps' => [ 'HttpRequestFactory' ]
Severity: Minor
Found in src/WebService/TranslationWebService.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status