vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/DuplicateStyleDefinitionSniff.php 1 location
|
@@ 77-80 (lines=4) @@
|
| 74 |
|
break; |
| 75 |
|
} |
| 76 |
|
|
| 77 |
|
if ($tokens[$next]['code'] === T_OPEN_CURLY_BRACKET) { |
| 78 |
|
$next = $tokens[$next]['bracket_closer']; |
| 79 |
|
continue; |
| 80 |
|
} |
| 81 |
|
|
| 82 |
|
$name = $tokens[$next]['content']; |
| 83 |
|
if (isset($styleNames[$name]) === true) { |
vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/LowercaseStyleDefinitionSniff.php 1 location
|
@@ 69-72 (lines=4) @@
|
| 66 |
|
|
| 67 |
|
for ($i = $start; $i <= $end; $i++) { |
| 68 |
|
// Skip nested definitions as they are checked individually. |
| 69 |
|
if ($tokens[$i]['code'] === T_OPEN_CURLY_BRACKET) { |
| 70 |
|
$i = $tokens[$i]['bracket_closer']; |
| 71 |
|
continue; |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
if ($tokens[$i]['code'] === T_STYLE) { |
| 75 |
|
$inStyle = $tokens[$i]['content']; |
vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php 1 location
|
@@ 229-232 (lines=4) @@
|
| 226 |
|
continue; |
| 227 |
|
} |
| 228 |
|
|
| 229 |
|
if ($tokens[$start]['code'] === T_OPEN_CURLY_BRACKET) { |
| 230 |
|
$start = $tokens[$start]['bracket_closer']; |
| 231 |
|
continue; |
| 232 |
|
} |
| 233 |
|
|
| 234 |
|
if ($tokens[$start]['code'] === T_SEMICOLON) { |
| 235 |
|
break; |