Showing 1,432 of 2,096 total issues
Method prefetchTerms
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function prefetchTerms(
array $entityIds,
array $termTypes,
array $languageCodes
) {
Method resolveGroupedTermInLangIds
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function resolveGroupedTermInLangIds(
array $groupedTermInLangIds,
array $types = null,
array $languages = null
): array {
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
LanguageLinkBadgeDisplay $badgeDisplay,
NamespaceChecker $namespaceChecker,
SiteLinkLookup $siteLinkLookup,
EntityLookup $entityLookup,
SiteLookup $siteLookup,
Method factory
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
LanguageNameUtils $languageNameUtils,
AnonymousEditWarningBuilder $anonymousEditWarningBuilder,
ChangeOpFactoryProvider $changeOpFactoryProvider,
MediaWikiEditEntityFactory $editEntityFactory,
EntityPermissionChecker $entityPermissionChecker,
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
StatementChangeOpFactory $statementChangeOpFactory,
ApiErrorReporter $errorReporter,
StatementModificationHelper $modificationHelper,
Method factory
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
AnonymousEditWarningBuilder $anonymousEditWarningBuilder,
ChangeOpFactoryProvider $changeOpFactoryProvider,
MediaWikiEditEntityFactory $editEntityFactory,
EntityTitleLookup $entityTitleLookup,
FallbackLabelDescriptionLookupFactory $labelDescriptionLookupFactory,
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$name,
$restriction,
array $tags,
SpecialPageCopyrightView $copyrightView,
EntityNamespaceLookup $entityNamespaceLookup,
Method factory
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
ApiHelperFactory $apiHelperFactory,
ChangeOpFactoryProvider $changeOpFactoryProvider,
EntityIdParser $entityIdParser,
Method factory
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
ApiHelperFactory $apiHelperFactory,
ChangeOpFactoryProvider $changeOpFactoryProvider,
EntityIdParser $entityIdParser,
Method factory
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
ApiHelperFactory $apiHelperFactory,
ChangeOpFactoryProvider $changeOpFactoryProvider,
EntityIdParser $entityIdParser,
Method factory
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
ApiHelperFactory $apiHelperFactory,
ChangeOpFactoryProvider $changeOpFactoryProvider,
EntityIdParser $entityIdParser,
Method factory
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
LanguageNameUtils $languageNameUtils,
AnonymousEditWarningBuilder $anonymousEditWarningBuilder,
ChangeOpFactoryProvider $changeOpFactoryProvider,
MediaWikiEditEntityFactory $editEntityFactory,
EntityPermissionChecker $entityPermissionChecker,
Method factory
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
LanguageNameUtils $languageNameUtils,
AnonymousEditWarningBuilder $anonymousEditWarningBuilder,
ChangeOpFactoryProvider $changeOpFactoryProvider,
MediaWikiEditEntityFactory $editEntityFactory,
EntityPermissionChecker $entityPermissionChecker,
Method factory
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
ApiHelperFactory $apiHelperFactory,
ChangeOpFactoryProvider $changeOpFactoryProvider,
EntityIdParser $entityIdParser,
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityLookup $lookup,
EntityIdParser $idParser,
array $urlSchemes,
string $itemVocabularyBaseUri,
ContentLanguages $contentLanguages,
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
array $conceptUris,
array $dataUris,
EntitySourceDefinitions $entitySourceDefinitions,
array $rdfTurtleNodePrefixes,
array $rdfTurtlePredicatePrefixes,
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
SeekableEntityIdPager $idPager,
MessageReporter $progressReporter,
MessageReporter $errorReporter,
RepoDomainDb $db,
EntityLookup $entityLookup,
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PatchPropertyDescriptionsValidator $useCaseValidator,
AssertPropertyExists $assertPropertyExists,
AssertUserIsAuthorized $assertUserIsAuthorized,
PropertyDescriptionsRetriever $descriptionsRetriever,
DescriptionsSerializer $descriptionsSerializer,
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PatchPropertyAliasesValidator $validator,
AssertPropertyExists $assertPropertyExists,
AssertUserIsAuthorized $assertUserIsAuthorized,
PropertyAliasesRetriever $aliasesRetriever,
AliasesSerializer $aliasesSerializer,
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PatchSitelinksValidator $useCaseValidator,
AssertItemExists $assertItemExists,
AssertUserIsAuthorized $assertUserIsAuthorized,
SitelinksRetriever $SitelinksRetriever,
SitelinksSerializer $sitelinksSerializer,