Completed
Pull Request — master (#7)
by Arjan
05:21
created
src/Minifiers/Html/CommentMinifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
                 <!          # search for the start of a comment
24 24
                     [^>]*   # search for everything without a ">"
25 25
                 >           # match the end of the comment
26
-            /xs', function ($match) {
26
+            /xs', function($match) {
27 27
                 if (Str::contains(strtolower($match[0]), 'doctype')) {
28 28
                     return $match[0];
29 29
                 }
Please login to merge, or discard this patch.
src/Minifiers/Html/AttributeQuoteMinifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                             )*                              # special part of "unrolling the loop"
49 49
                     )       # use a the "unrolling the loop" technique to be able to skip escaped quotes like ="\""
50 50
                 \1?         # match the same quote symbol as matched before
51
-            /x', function ($match) {
51
+            /x', function($match) {
52 52
                 return $this->minifyAttribute($match);
53 53
             }, $context->getContents()));
54 54
     }
Please login to merge, or discard this patch.