wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub

Showing 691 of 718 total issues

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

    public function __construct( Client $client, $aliasName, $specificIndexName, $startOver, Printer $out ) {
Severity: Minor
Found in includes/Maintenance/Validators/IndexAliasValidator.php - About 35 mins to fix

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

        protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
    Severity: Minor
    Found in includes/Query/DeepcatFeature.php - About 35 mins to fix

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

          private static function overrideSecret( &$dest, $secret, WebRequest $request, $name, $value = true ) {
      Severity: Minor
      Found in includes/Hooks.php - About 35 mins to fix

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

            protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
        Severity: Minor
        Found in includes/Query/InTitleFeature.php - About 35 mins to fix

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

              protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
          Severity: Minor
          Found in includes/Query/FileTypeFeature.php - About 35 mins to fix

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

                public function build( $self, array $options, $buildChunks, $fromPageId, $toPageId ) {
            Severity: Minor
            Found in includes/Maintenance/ChunkBuilder.php - About 35 mins to fix

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

                  protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
              Severity: Minor
              Found in includes/Query/IndexedNumericFieldFeature.php - About 35 mins to fix

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

                        &$dest,
                        WebRequest $request,
                        $name,
                        $limit = null,
                        $upperLimit = true
                Severity: Minor
                Found in includes/Hooks.php - About 35 mins to fix

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

                      protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
                  Severity: Minor
                  Found in includes/Query/ContentModelFeature.php - About 35 mins to fix

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

                        public function __construct( \Elastica\Client $client, $description, $queryType, array $extra = [], array $namespaces = null ) {
                    Severity: Minor
                    Found in includes/SearchRequestLog.php - About 35 mins to fix

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

                          protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
                      Severity: Minor
                      Found in includes/Query/InSourceFeature.php - About 35 mins to fix

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

                                Connection $connection,
                                $templateName,
                                array $templateDefinition,
                                array $availablePlugins,
                                $languageCode
                        Severity: Minor
                        Found in includes/Maintenance/IndexTemplateBuilder.php - About 35 mins to fix

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

                                  CirrusSearchResultSet $nested,
                                  array $interleaved,
                                  array $teamA,
                                  array $teamB,
                                  $offset
                          Severity: Minor
                          Found in includes/Search/InterleavedResultSet.php - About 35 mins to fix

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

                                protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
                            Severity: Minor
                            Found in includes/Query/PageIdFeature.php - About 35 mins to fix

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

                                  protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
                              Severity: Minor
                              Found in includes/Query/PrefixFeature.php - About 35 mins to fix

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

                                    protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
                                Severity: Minor
                                Found in includes/Query/PreferRecentFeature.php - About 35 mins to fix

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

                                      protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
                                  Severity: Minor
                                  Found in includes/Query/LocalFeature.php - About 35 mins to fix

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

                                        public function build( array $inputDoc, $suggestType, $score, \Elastica\Document $suggestDoc, $targetNamespace );
                                    Severity: Minor
                                    Found in includes/BuildDocument/Completion/ExtraSuggestionsBuilder.php - About 35 mins to fix

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

                                          public function __construct( $message, $start, array $expectedTokens = [], $actualToken = null, array $messageParams = [] ) {
                                      Severity: Minor
                                      Found in includes/Parser/AST/ParseWarning.php - About 35 mins to fix

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

                                            protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {
                                        Severity: Minor
                                        Found in includes/Query/HasRecommendationFeature.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language