File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
dev/tests/functional/tests/app/Magento/User/Test/Handler/Role
lib/internal/Magento/Framework/View/Template/Html Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function persist(FixtureInterface $fixture = null)
61
61
}
62
62
63
63
$ url = 'admin/user_role/roleGrid/sort/role_id/dir/desc/ ' ;
64
- $ regExpPattern = '/col\-role_id\W *(\d+)<.td><[^<>]*?> ' . $ data ['rolename ' ] . '/siu ' ;
64
+ $ regExpPattern = '/col\-role_id[\s\W] *(\d+)\s* <.td>\s* <[^<>]*?> ' . $ data ['rolename ' ] . '/siu ' ;
65
65
66
66
$ extractor = new Extractor ($ url , $ regExpPattern );
67
67
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public function minify($file)
116
116
'#(?<!]]>)\s+</# ' ,
117
117
'</ ' ,
118
118
preg_replace (
119
- '#((?:<\?php\s+(?!echo)[^\?]*)\?>)\s+# ' ,
119
+ '#((?:<\?php\s+(?!echo|if|elseif|else )[^\?]*)\?>)\s+# ' ,
120
120
'$1 ' ,
121
121
preg_replace (
122
122
'#(?<! ' . implode ('| ' , $ this ->inlineHtmlTags ) . ')\> \<# ' ,
@@ -126,7 +126,7 @@ public function minify($file)
126
126
. '(?:<(?>textarea|pre|script)\b|\z))# ' ,
127
127
' ' ,
128
128
preg_replace (
129
- '#(?<!:)//(?!\s*\<\!\[)(?!\s*]]\>)[^\n\r]*# ' ,
129
+ '#(?<!:| \\\\ )//(?!\s*\<\!\[)(?!\s*]]\>)[^\n\r]*# ' ,
130
130
'' ,
131
131
preg_replace (
132
132
'#(?<!:)//[^\n\r]*(\s\?\>)# ' ,
You can’t perform that action at this time.
0 commit comments