From f58e000f3051f5bbfd3c9f919e3197129c5c818f Mon Sep 17 00:00:00 2001 From: "John R. D'Orazio" Date: Fri, 29 Nov 2024 16:51:43 +0100 Subject: [PATCH] sourceFile will exist, need to override for calendar sources --- src/Health.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Health.php b/src/Health.php index b9466524..66274862 100644 --- a/src/Health.php +++ b/src/Health.php @@ -366,7 +366,6 @@ private function executeValidation(object $validation, ConnectionInterface $to) } else { if (property_exists($validation, 'sourceFile')) { $dataPath = $validation->sourceFile; - } else { $matches = null; if (preg_match("/^(wider-region|national-calendar|diocesan-calendar)-([A-Z][a-z]+)$/i", $validation->validate, $matches)) { switch ($matches[1]) {