Skip to content

Commit c2aec40

Browse files
committed
Remove invalid assumption regarding valid characters
1 parent d36d44a commit c2aec40

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Config.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,11 +1663,6 @@ private function parseSniffCodes($input, $argument)
16631663
foreach ($possibleSniffs as $sniff) {
16641664
$sniff = trim($sniff);
16651665

1666-
if (preg_match('{[^A-Za-z0-9.]}', $sniff) === 1) {
1667-
$errors[] = 'Unsupported character detected: '.$sniff;
1668-
continue;
1669-
}
1670-
16711666
$partCount = substr_count($sniff, '.');
16721667
if ($partCount === 2) {
16731668
// Correct number of parts.

0 commit comments

Comments
 (0)