$method */ public function testSiteContentDetectionSourceExists(string $method): void { // sanity check to prevent a site content detection // class going away without being noticed $detectionId = $method::getSiteContentDetectionId(); self::assertTrue($detectionId === null || is_string($detectionId)); } public function getBotTrackingMethods(): array { return [ [AmazonCloudFront::class], [Cloudflare::class], [HttpTrackingApi::class], [MissingOneContactUs::class], [WordPress::class], ]; } }