wikimedia/mediawiki-extensions-Wikibase

View on GitHub
client/includes/Hooks/EditActionHookHandler.php

Summary

Maintainability
A
1 hr
Test Coverage

Method formatEntityUsage has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function formatEntityUsage( array $usages, IContextSource $context ): string {
        $usageAspectsByEntity = [];
        $entityIds = [];

        foreach ( $usages as $entityUsage ) {
Severity: Minor
Found in client/includes/Hooks/EditActionHookHandler.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status