Skip to content

Commit

Permalink
minor: sca
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Oct 9, 2024
1 parent 3dd63db commit d90bad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Browser/Test/LegacyExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private static function normalizeTestName(string $name): string
\preg_match('#^(?<test>[\w:\\\]+) with data set "(?<dataset>.*)"#', $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']);
Expand Down

0 comments on commit d90bad9

Please sign in to comment.