Completed
Pull Request — master (#85)
by
unknown
03:22
created
src/Rules/Html/RegExExistsRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
     protected function doValidation(Response $response)
26 26
     {
27 27
         foreach ($this->regExs as $regEx) {
28
-            $this->assert(preg_match('^' . $regEx . '^', (string) $response->getBody()) > 0,
29
-                'The given regular expression (' . $regEx . ') was not found in this document.');
28
+            $this->assert(preg_match('^'.$regEx.'^', (string) $response->getBody()) > 0,
29
+                'The given regular expression ('.$regEx.') was not found in this document.');
30 30
         }
31 31
     }
32 32
 }
Please login to merge, or discard this patch.