Passed
Push — master ( 9be4e5...34d4a3 )
by Tim
02:24
created
src/XML/Utils/XPathFilter.php 1 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.