From 5856e2c6cd0572782e8f6c2b858bfc494bd17534 Mon Sep 17 00:00:00 2001 From: Gil Obradors Date: Tue, 9 Jan 2024 16:05:29 +0100 Subject: [PATCH] Rename JiraServiceManagement.php to Jiraservicemanagement.php (#15717) * Rename JiraServiceManagement.php to Jiraservicemanagement.php #15716 Filenames must not be PascalCase, only the first letter can be uppercase. * Update Jiraservicemanagement.php Following class name conventions * Update Jiraservicemanagement.php --------- Co-authored-by: Tony Murray --- .../{JiraServiceManagement.php => Jiraservicemanagement.php} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename LibreNMS/Alert/Transport/{JiraServiceManagement.php => Jiraservicemanagement.php} (90%) diff --git a/LibreNMS/Alert/Transport/JiraServiceManagement.php b/LibreNMS/Alert/Transport/Jiraservicemanagement.php similarity index 90% rename from LibreNMS/Alert/Transport/JiraServiceManagement.php rename to LibreNMS/Alert/Transport/Jiraservicemanagement.php index 99fe2b38aa..30cb5b8e50 100644 --- a/LibreNMS/Alert/Transport/JiraServiceManagement.php +++ b/LibreNMS/Alert/Transport/Jiraservicemanagement.php @@ -6,8 +6,10 @@ use LibreNMS\Alert\Transport; use LibreNMS\Exceptions\AlertTransportDeliveryException; use LibreNMS\Util\Http; -class JiraServiceManagement extends Transport +class Jiraservicemanagement extends Transport { + protected string $name = 'Jira Service Management'; + public function deliverAlert(array $alert_data): bool { $url = $this->config['jsm-url'];