Skip to content

Commit b755ed6

Browse files
AC-99: Update Third Party library: jquery.tabs
1 parent 3a9d1d6 commit b755ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Magento2/Sniffs/Html/HtmlCollapsibleAttributeSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function process(File $phpcsFile, $stackPtr)
4343
}
4444

4545
$pattern = '$<\w+.*?\s*(?=.*?\s*data-toggle="collapse")[^>]*?>.*?$';
46-
if (preg_match_all($pattern , $html, $matches, PREG_SET_ORDER)) {
46+
if (preg_match_all($pattern, $html, $matches, PREG_SET_ORDER)) {
4747
foreach ($matches as $match) {
4848
$phpcsFile->addError(
4949
'Collapsible attributes data-toggle and data-target need to be updated to ' .

0 commit comments

Comments
 (0)