includes/Query/PrefixFeature.php
Method internalParseValue
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function internalParseValue( $value ) {
$trimQuote = '/^"([^"]*)"\s*$/';
$value = preg_replace( $trimQuote, "$1", $value );
// NS_MAIN by default
$namespaces = [ NS_MAIN ];
Method parseValue
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function parseValue( $key, $value, $quotedValue, $valueDelimiter, $suffix, WarningCollector $warningCollector ) {
Method doApply
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected function doApply( SearchContext $context, $key, $value, $quotedValue, $negated ) {