From 51851de7a606c708fb25bb04ac9b9c61ea50447c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20N=C3=B6hles?= Date: Fri, 16 Aug 2024 22:36:31 +0200 Subject: [PATCH] Fix cs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Nöhles --- tools/Generators/EASEnumGenerator.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/Generators/EASEnumGenerator.php b/tools/Generators/EASEnumGenerator.php index eb39130..744c434 100644 --- a/tools/Generators/EASEnumGenerator.php +++ b/tools/Generators/EASEnumGenerator.php @@ -33,11 +33,6 @@ function generateEnum(array $values): string $case = strtoupper((string)$case); $case = rtrim($case, '_'); - // Ensure the case name starts with a letter - if (!ctype_alpha((string)$code)) { - $case = 'ICD_' . $case; - } - // Truncate case name if it's too long if (strlen($case) > 64) { $case = substr($case, 0, 64);