wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/includes/Hooks/PageHistoryPagerHookHandler.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        bool $federatedPropertiesEnabled,
        PrefetchingTermLookup $prefetchingLookup,
        LinkTargetEntityIdLookup $linkTargetEntityIdLookup,
        LanguageFallbackChainFactory $languageFallbackChainFactory,
        LoggerInterface $logger
Severity: Minor
Found in repo/includes/Hooks/PageHistoryPagerHookHandler.php - About 35 mins to fix

    Method factory has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            LanguageFallbackChainFactory $languageFallbackChainFactory,
            LinkTargetEntityIdLookup $linkTargetEntityIdLookup,
            LoggerInterface $logger,
            PrefetchingTermLookup $prefetchingTermLookup,
            SettingsArray $repoSettings
    Severity: Minor
    Found in repo/includes/Hooks/PageHistoryPagerHookHandler.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status