From 0a78ed0915a92002a8c23d982403fa3b6cd81005 Mon Sep 17 00:00:00 2001 From: Jacob Fowler Date: Tue, 17 Dec 2024 17:39:13 -0500 Subject: [PATCH] supress phpmd for zone cache functions --- src/Endpoints/Zones.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Endpoints/Zones.php b/src/Endpoints/Zones.php index 609f480..59984e5 100644 --- a/src/Endpoints/Zones.php +++ b/src/Endpoints/Zones.php @@ -217,6 +217,8 @@ public function setCachingLevel(string $zoneID, string $level = 'aggressive'): b * Purge Everything * @param string $zoneID * @return bool + * + * @SuppressWarnings(PHPMD) */ public function cachePurgeEverything(string $zoneID, bool $includeEnvironments = false): bool { @@ -238,6 +240,9 @@ public function cachePurgeEverything(string $zoneID, bool $includeEnvironments = return false; } + /* + * @SuppressWarnings(PHPMD) + **/ public function cachePurge(string $zoneID, array $files = null, array $tags = null, array $hosts = null, bool $includeEnvironments = false): bool { if ($files === null && $tags === null && $hosts === null) {