wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub

Showing 718 of 718 total issues

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

            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/SubPageOfFeature.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/LinksToFeature.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/DefaultSortSuggestionsBuilder.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/MoreLikeThisFeature.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/ArticleTopicFeature.php - About 35 mins to fix

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

                          abstract protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated );
                      Severity: Minor
                      Found in includes/Query/SimpleKeywordFeature.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/BoostTemplatesFeature.php - About 35 mins to fix

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

                              private function buildRedirectsSuggestion( $docId, array $redirects, $score, array $inputDoc, array $scoreExplanation = null ) {
                          Severity: Minor
                          Found in includes/BuildDocument/Completion/SuggestBuilder.php - About 35 mins to fix

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

                                public function __construct( $start, $end, $phrase, $slop, $stem ) {
                            Severity: Minor
                            Found in includes/Parser/AST/PhraseQueryNode.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/InCategoryFeature.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/HasTemplateFeature.php - About 35 mins to fix

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

                                      private function truncateField( string $field, bool $keyword, int $minFieldLength, int $maxDocSize, string $statBucket ): void {
                                  Severity: Minor
                                  Found in includes/BuildDocument/DocumentSizeLimiter.php - About 35 mins to fix

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

                                        private function buildTitleSuggestion( $docId, array $title, $score, array $inputDoc, array $scoreExplanation = null ) {
                                    Severity: Minor
                                    Found in includes/BuildDocument/Completion/SuggestBuilder.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/LanguageFeature.php - About 35 mins to fix

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

                                            public static function overrideNumeric( &$dest, $request, $name, $limit = null, $upperLimit = true ) {
                                        Severity: Minor
                                        Found in includes/Util.php - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language