Passed
Push — master ( bee645...5a9b46 )
by Bekh-Ivanov
02:05
created
src/HtmlMatcher.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 class HtmlMatcher extends DiagnosingMatcher
10 10
 {
11
-	/**
11
+    /**
12 12
      * @link http://www.xmlsoft.org/html/libxml-xmlerror.html#xmlParserErrors
13 13
      * @link https://github.com/Chronic-Dev/libxml2/blob/683f296a905710ff285c28b8644ef3a3d8be9486/include/libxml/xmlerror.h#L257
14 14
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     private function escapeScriptTagContents($html)
102 102
     {
103
-        return preg_replace_callback('#(<script.*>)(.*)(</script>)#isU', function ($matches) {
103
+        return preg_replace_callback('#(<script.*>)(.*)(</script>)#isU', function($matches) {
104 104
             return $matches[1] . str_replace('</', '<\/', $matches[2]) . $matches[3];
105 105
         }, $html);
106 106
     }
Please login to merge, or discard this patch.