Showing 1,432 of 2,096 total issues
Method getModifiedEntityArray
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityDocument $entity,
$props,
?array $filterSiteIds,
array $filterLangCodes,
array $termFallbackChains
Method createRedirect
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityId $fromId,
EntityId $toId,
bool $bot,
array $tags,
IContextSource $context
Method saveRedirect
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityRedirect $redirect,
FormatableSummary $summary,
IContextSource $context,
bool $bot,
array $tags
Method createRedirect
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function createRedirect( EntityId $fromId, EntityId $toId, bool $bot, ApiResult $result, array $params ): void {
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiQuery $mainModule,
string $moduleName,
ApiErrorReporter $errorReporter,
EntityIdParser $idParser,
SiteLookup $siteLookup
Method applyChangeOpAndReturnChangedReference
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ChangeOp $changeOp,
EntityDocument $entity,
Summary $summary,
Statement $statement,
Reference $newReference
Method factory
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
ChangeOpFactoryProvider $changeOpFactoryProvider,
EntityFactory $entityFactory,
SettingsArray $repoSettings
Method attemptSaveEntity
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
EntityDocument $entity,
$summary,
array $requestParams,
IContextSource $context,
int $flags = 0
Method factory
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiQuery $apiQuery,
string $moduleName,
SiteLookup $siteLookup,
ApiHelperFactory $apiHelperFactory,
EntityIdParser $entityIdParser
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $baseConceptUri,
EntityIdLookup $idLookup,
EntityLookup $entityLookup,
EntityNamespaceLookup $nsLookup,
LoggerInterface $logger
Method factory
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
ApiHelperFactory $apiHelperFactory,
ItemMergeInteractor $interactor,
SettingsArray $settings
Method getSerializedData
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
string $format,
EntityRevision $entityRevision,
RedirectRevision $followedRedirect = null,
array $incomingRedirects = [],
?string $flavor = null
Method addSnak
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function addSnak( RdfWriter $writer, $snakNamespace, Snak $snak, $propertyNamespace, string $parentLName ) {
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
RdfVocabulary $vocabulary,
EntityRdfBuilderFactory $entityRdfBuilderFactory,
EntityContentFactory $entityContentFactory,
EntityStubRdfBuilderFactory $entityStubRdfBuilderFactory,
EntityRevisionLookup $entityRevisionLookup
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
?EntityId $entityId,
string $languageCode,
?string $oldLabel,
?string $newLabel,
bool $isEntityChanged = false
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
bool $federatedPropertiesEnabled,
PrefetchingTermLookup $prefetchingLookup,
LinkTargetEntityIdLookup $linkTargetEntityIdLookup,
LanguageFallbackChainFactory $languageFallbackChainFactory,
LoggerInterface $logger
Method showData
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function showData( WebRequest $request, OutputPage $output, $format, EntityId $id, $revision ) {
Method getValueSnakRdfBuilder
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$flavorFlags,
RdfVocabulary $vocabulary,
RdfWriter $writer,
EntityMentionListener $mentionedEntityTracker,
DedupeBag $dedupe
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
PrefetchingTermLookup $termLookup,
RdfVocabulary $vocabulary,
RdfWriter $writer,
array $labelPredicates,
array $languageCodes
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
int $flavorFlags,
TruthyStatementRdfBuilderFactory $truthyStatementRdfBuilderFactory,
FullStatementRdfBuilderFactory $fullStatementRdfBuilderFactory,
TermsRdfBuilder $termsRdfBuilder,
PropertySpecificComponentsRdfBuilder $propertySpecificComponentsRdfBuilder