wikimedia/mediawiki-extensions-Wikibase

View on GitHub

Showing 2,096 of 2,096 total issues

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

        PropertyLabelResolver $propertyLabelResolver,
        SnaksFinder $snaksFinder,
        EntityLookup $entityLookup,
        DataAccessSnakFormatterFactory $dataAccessSnakFormatterFactory,
        UsageAccumulatorFactory $usageAccumulatorFactory,

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

            NamespaceChecker $namespaceChecker,
            JobQueueGroupFactory $jobQueueGroupFactory,
            DatabaseEntitySource $entitySource,
            SiteLinkLookup $siteLinkLookup,
            LoggerInterface $logger,
    Severity: Major
    Found in client/includes/Hooks/UpdateRepoHookHandler.php - About 1 hr to fix

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

              PropertyTermStoreWriter $propertyTermStoreWriter,
              SeekableEntityIdPager $idPager,
              MessageReporter $progressReporter,
              MessageReporter $errorReporter,
              RepoDomainDb $db,
      Severity: Major
      Found in repo/includes/Store/PropertyTermsRebuilder.php - About 1 hr to fix

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

                SubscriptionLookup $subscriptionLookup,
                EntityChangeLookup $changeLookup,
                EntityIdParser $entityIdParser,
                JobQueueGroupFactory $jobQueueGroupFactory,
                ChangeStore $changeStore,
        Severity: Major
        Found in repo/includes/ChangeModification/DispatchChangesJob.php - About 1 hr to fix

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

                  ItemTermStoreWriter $itemTermStoreWriter,
                  $itemIdIterable,
                  MessageReporter $progressReporter,
                  MessageReporter $errorReporter,
                  RepoDomainDb $db,
          Severity: Major
          Found in repo/includes/Store/ItemTermsRebuilder.php - About 1 hr to fix

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

                    Config $config = null,
                    LoggerInterface $logger = null,
                    ExtensionRegistry $extensionRegistry = null,
                    SettingsArray $wikibaseRepoSettings = null,
                    HTTPRequestFactory $requestFactory = null,
            Severity: Major
            Found in repo/includes/WikibasePingback.php - About 1 hr to fix

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

                      EntityRevisionLookup $entityRevisionLookup,
                      EntityStore $entityStore,
                      EntityPermissionChecker $permissionChecker,
                      SummaryFormatter $summaryFormatter,
                      EditFilterHookRunner $editFilterHookRunner,
              Severity: Major
              Found in repo/includes/Interactors/EntityRedirectCreationInteractor.php - About 1 hr to fix

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

                        ApiResult $result,
                        EntityTitleStoreLookup $entityTitleStoreLookup,
                        SerializerFactory $serializerFactory,
                        Serializer $entitySerializer,
                        SiteLookup $siteLookup,
                Severity: Major
                Found in repo/includes/Api/ResultBuilder.php - About 1 hr to fix

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

                          MergeFactory $mergeFactory,
                          EntityRevisionLookup $entityRevisionLookup,
                          MediaWikiEditEntityFactory $editEntityFactory,
                          EntityPermissionChecker $permissionChecker,
                          SummaryFormatter $summaryFormatter,
                  Severity: Major
                  Found in repo/includes/Interactors/ItemMergeInteractor.php - About 1 hr to fix

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

                            ApiMain $mainModule,
                            string $moduleName,
                            ApiHelperFactory $apiHelperFactory,
                            ChangeOpFactoryProvider $changeOpFactoryProvider,
                            EntityIdParser $entityIdParser,
                    Severity: Major
                    Found in repo/includes/Api/CreateClaim.php - About 1 hr to fix

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

                              ApiMain $mainModule,
                              string $moduleName,
                              SiteLinkChangeOpFactory $siteLinkChangeOpFactory,
                              SiteLinkBadgeChangeOpSerializationValidator $badgeSerializationValidator,
                              SiteLinkPageNormalizer $siteLinkPageNormalizer,
                      Severity: Major
                      Found in repo/includes/Api/SetSiteLink.php - About 1 hr to fix

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

                                ApiQuery $apiQuery,
                                string $moduleName,
                                LinkBatchFactory $linkBatchFactory,
                                EntitySearchHelper $entitySearchHelper,
                                EntityTitleLookup $titleLookup,
                        Severity: Major
                        Found in repo/includes/Api/QuerySearchEntities.php - About 1 hr to fix

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

                                  ApiQuery $apiQuery,
                                  string $moduleName,
                                  LinkBatchFactory $linkBatchFactory,
                                  array $enabledEntityTypes,
                                  array $entitySearchHelperCallbacks,
                          Severity: Major
                          Found in repo/includes/Api/QuerySearchEntities.php - About 1 hr to fix

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

                                    ApiMain $mainModule,
                                    string $moduleName,
                                    IBufferingStatsdDataFactory $statsdDataFactory,
                                    DataTypeDefinitions $dataTypeDefinitions,
                                    EntityChangeOpProvider $entityChangeOpProvider,
                            Severity: Major
                            Found in repo/includes/Api/EditEntity.php - About 1 hr to fix

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

                                      ApiMain $mainModule,
                                      string $moduleName,
                                      StatementGuidValidator $guidValidator,
                                      StatementGuidParser $guidParser,
                                      EntityIdParser $idParser,
                              Severity: Major
                              Found in repo/includes/Api/GetClaims.php - About 1 hr to fix

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

                                        RdfVocabulary $vocabulary,
                                        EntityRdfBuilderFactory $entityRdfBuilderFactory,
                                        int $flavor,
                                        RdfWriter $writer,
                                        DedupeBag $dedupeBag,
                                Severity: Major
                                Found in repo/includes/Rdf/RdfBuilder.php - About 1 hr to fix

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

                                          SiteLinkBadgeChangeOpSerializationValidator $badgeChangeOpSerializationValidator,
                                          SiteLinkChangeOpFactory $siteLinkChangeOpFactory,
                                          SiteLinkPageNormalizer $siteLinkPageNormalizer,
                                          SiteLinkTargetProvider $siteLinkTargetProvider,
                                          EntityIdParser $entityIdParser,

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

                                            GuidGenerator $guidGenerator,
                                            StatementGuidValidator $guidValidator,
                                            StatementGuidParser $guidParser,
                                            SnakValidator $snakValidator,
                                            SnakValidator $referenceSnakValidator,
                                    Severity: Major
                                    Found in repo/includes/ChangeOp/StatementChangeOpFactory.php - About 1 hr to fix

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

                                              EntityTitleStoreLookup $entityTitleStoreLookup,
                                              PropertyDataTypeLookup $propertyLookup,
                                              EntityDataFormatProvider $entityDataFormatProvider,
                                              SerializerFactory $serializerFactory,
                                              Serializer $entitySerializer,
                                      Severity: Major
                                      Found in repo/includes/LinkedData/EntityDataSerializationService.php - About 1 hr to fix

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

                                                DispatchingEntityViewFactory $entityViewFactory,
                                                DispatchingEntityMetaTagsCreatorFactory $entityMetaTagsCreatorFactory,
                                                ParserOutputJsConfigBuilder $configBuilder,
                                                TermLanguageFallbackChain $termLanguageFallbackChain,
                                                EntityDataFormatProvider $entityDataFormatProvider,
                                        Severity: Major
                                        Found in repo/includes/ParserOutput/FullEntityParserOutputGenerator.php - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language