Skip to content

Commit c11a3ea

Browse files
committed
Addition fixes for 7.3 support (ref #2158)
1 parent 71fb5c5 commit c11a3ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodeSniffer/Tokenizers/CSS.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public function tokenizeString($string, $eolChar='\n')
390390

391391
// Needs to be in the format "url(" for it to be a URL.
392392
if ($finalTokens[$x]['code'] !== T_OPEN_PARENTHESIS) {
393-
continue;
393+
continue 2;
394394
}
395395

396396
// Make sure the content isn't empty.
@@ -401,7 +401,7 @@ public function tokenizeString($string, $eolChar='\n')
401401
}
402402

403403
if ($finalTokens[$y]['code'] === T_CLOSE_PARENTHESIS) {
404-
continue;
404+
continue 2;
405405
}
406406

407407
if (PHP_CODESNIFFER_VERBOSITY > 1) {

0 commit comments

Comments
 (0)