Completed
Push — master ( 6df7b6...2250c0 )
by Tim
24s queued 20s
created
src/Utils/XPathFilter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
          */
47 47
         $res = preg_replace(
48 48
             '/(["\'])(?:(?!\\1).)*+\\1/',
49
-            "\\1\\1",   // Replace the content with two of the quotes that were matched
49
+            "\\1\\1", // Replace the content with two of the quotes that were matched
50 50
             $input,
51 51
         );
52 52
 
Please login to merge, or discard this patch.
Indentation   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,7 +84,6 @@  discard block
 block discarded – undo
84 84
              *
85 85
              * Use possessive quantifiers (i.e. *+ and ++ instead of * and + respectively) to prevent backtracking
86 86
              * and thus prevent a ReDOS.
87
-
88 87
              * '/([a-z]++(?>-[a-z]++)*+)\s*+\(/'
89 88
              * (           # Start a capturing group
90 89
              *   [a-z]++   # Match one or more lower-case alpha characters
@@ -95,7 +94,7 @@  discard block
 block discarded – undo
95 94
              * )           # End of the capturing group
96 95
              * \s*+        # Match zero or more whitespace characters, possessively
97 96
              * \(          # Match an opening parenthesis
98
-            */
97
+             */
99 98
 
100 99
             '/([a-z]++(?>-[a-z]++)*+)\\s*+\\(/',
101 100
             $xpathExpression,
@@ -146,7 +145,7 @@  discard block
 block discarded – undo
146 145
              * )           # End of the capturing group
147 146
              * \s*+        # Match zero or more whitespace characters, possessively
148 147
              * \(          # Match an opening parenthesis
149
-            */
148
+             */
150 149
 
151 150
             '/([a-z]++(?>-[a-z]++)*+)\\s*+::/',
152 151
             $xpathExpression,
Please login to merge, or discard this patch.