From d90bad93782be1f75f498d0f76b3c1a3b0229e98 Mon Sep 17 00:00:00 2001 From: Kevin Bond Date: Tue, 8 Oct 2024 20:40:47 -0400 Subject: [PATCH] minor: sca --- src/Browser/Test/LegacyExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Browser/Test/LegacyExtension.php b/src/Browser/Test/LegacyExtension.php index 94f1d26..7842c27 100644 --- a/src/Browser/Test/LegacyExtension.php +++ b/src/Browser/Test/LegacyExtension.php @@ -122,7 +122,7 @@ private static function normalizeTestName(string $name): string \preg_match('#^(?[\w:\\\]+) with data set "(?.*)"#', $name, $matches); } - $normalized = \strtr($matches['test'], '\\:', '-_'); + $normalized = \strtr($matches['test'], '\\:', '-_'); // @phpstan-ignore-line if (isset($matches['dataset'])) { $normalized .= '__data-set-'.\preg_replace('/\W+/', '-', $matches['dataset']);