parameters: ignoreErrors: - message: '#^Call to static method invalidParams\(\) on an unknown class Mcp\\Example\\HttpUserProfileExample\\McpServerException\.$#' identifier: class.notFound count: 2 path: examples/02-discovery-http-userprofile/McpElements.php - message: '#^PHPDoc tag @throws with type Mcp\\Example\\HttpUserProfileExample\\McpServerException is not subtype of Throwable$#' identifier: throws.notThrowable count: 2 path: examples/02-discovery-http-userprofile/McpElements.php - message: '#^Call to an undefined method Mcp\\Capability\\Registry\\ResourceTemplateReference\:\:handle\(\)\.$#' identifier: method.notFound count: 1 path: src/Capability/Registry/ResourceTemplateReference.php - message: '#^PHPDoc tag @return with type array is incompatible with native type object\.$#' identifier: return.phpDocType count: 1 path: src/Schema/Result/EmptyResult.php - message: '#^Method Mcp\\Schema\\Result\\ReadResourceResult\:\:jsonSerialize\(\) should return array\{contents\: array\\} but returns array\{contents\: array\\}\.$#' identifier: return.type count: 1 path: src/Schema/Result/ReadResourceResult.php - message: '#^Method Mcp\\Server\\ServerBuilder\:\:addPrompt\(\) has parameter \$handler with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Method Mcp\\Server\\ServerBuilder\:\:addResource\(\) has parameter \$handler with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Method Mcp\\Server\\ServerBuilder\:\:addResourceTemplate\(\) has parameter \$handler with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$handler with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Method Mcp\\Server\\ServerBuilder\:\:addTool\(\) has parameter \$inputSchema with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Method Mcp\\Server\\ServerBuilder\:\:getCompletionProviders\(\) return type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$excludeDirs with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Method Mcp\\Server\\ServerBuilder\:\:setDiscovery\(\) has parameter \$scanDirs with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Property Mcp\\Server\\ServerBuilder\:\:\$instructions is never read, only written\.$#' identifier: property.onlyWritten count: 1 path: src/Server/ServerBuilder.php - message: '#^Property Mcp\\Server\\ServerBuilder\:\:\$prompts type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Property Mcp\\Server\\ServerBuilder\:\:\$resourceTemplates type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Property Mcp\\Server\\ServerBuilder\:\:\$resources type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php - message: '#^Property Mcp\\Server\\ServerBuilder\:\:\$tools type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue count: 1 path: src/Server/ServerBuilder.php