Showing 1,432 of 2,096 total issues
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$localSiteId,
SiteLinksForDisplayLookup $siteLinksForDisplayLookup,
SiteLookup $siteLookup,
SidebarLinkBadgeDisplay $sidebarLinkBadgeDisplay,
array $siteIdsToOutput
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityIdParser $idParser,
SessionConsistentConnectionManager $connectionManager,
array $disabledUsageAspects,
int $entityUsagePerPageLimit,
int $addEntityUsagesBatchSize = 500
Method findEntityIdsWithTermInLang
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $lang,
string $text,
int $termTypeId,
bool $firstMatchOnly = false,
array $filterOnEntityIds = []
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityIdParser $idParser,
?IDatabase $writeConnection,
int $batchSize = 100,
?string $tableName = null,
int $addUsagesBatchSize = 500
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array $entityDiffVisualizerInstantiators,
ClaimDiffer $claimDiffer,
SiteLookup $siteLookup,
EntityIdFormatterFactory $entityIdFormatterFactory,
OutputFormatSnakFormatterFactory $snakFormatterFactory
Method makeRequest
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $text,
string $languageCode,
string $entityType,
int $limit,
bool $strictLanguage
Method onSearchDataForIndex
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function onSearchDataForIndex( &$fields, $handler, $page, $output, $engine ): void {
Method factory
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityIdParser $entityIdParser,
string $langLinkSiteGroup,
NamespaceChecker $namespaceChecker,
RepoLinker $repoLinker,
SettingsArray $clientSettings
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array $path,
Diff $diff,
SiteLookup $siteLookup,
EntityIdFormatter $entityIdFormatter,
MessageLocalizer $messageLocalizer
Method createSchema
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Title $title,
$revisionTimestamp,
$entityConceptUri,
File $imageFile = null,
$description = null
Method checkPermissionsForActions
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
User $user,
array $actions,
Title $title,
$entityType,
$rigor = PermissionManager::RIGOR_SECURE
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
RepoDomainDb $db,
EntityIdComposer $entityIdComposer,
$tableName,
$batchSize,
$verbosity = 'standard'
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
DataTypeFactory $dataTypeFactory,
PropertyInfoLookup $propertyInfoLookup,
FallbackLabelDescriptionLookupFactory $labelDescriptionLookupFactory,
EntityIdFormatterFactory $entityIdFormatterFactory,
EntityTitleLookup $titleLookup
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiBase $apiModule,
ResultBuilder $resultBuilder,
EntityByLinkedTitleLookup $entityByLinkedTitleLookup,
SiteLookup $siteLookup,
StringNormalizer $stringNormalizer
Method factory
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
ChangeOpFactoryProvider $changeOpFactoryProvider,
EntityFactory $entityFactory,
SettingsArray $repoSettings
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
SiteLookup $siteLookup,
SiteLinkLookup $siteLinkLookup,
EntityRedirectTargetLookup $redirectLookup,
EntityIdParser $idParser,
EntityLookup $entityLookup
Method setSiteLink
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function setSiteLink( EntityDocument $item, $siteId, $pageName, array $badgeIds, Summary &$summary = null ) {
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
AnonymousEditWarningBuilder $anonymousEditWarningBuilder,
EntityIdParser $idParser,
ExceptionLocalizer $exceptionLocalizer,
ItemRedirectCreationInteractor $interactor,
TokenCheckInteractor $tokenCheck
Method saveItem
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Item $item,
FormatableSummary $summary,
IContextSource $context,
bool $bot,
array $tags
Method newMerge
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityRevision $fromEntityRevision,
EntityRevision $toEntityRevision,
?UserIdentity $savedTempUser,
IContextSource $context,
bool $redirected = null