Completed
Push — master ( 3d9ae5...b7ec6c )
by Nils
04:50 queued 02:22
created
src/Rules/Html/ClosingHtmlTagRule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         if ($response instanceof ContentTypeAwareResponse) {
18 18
 
19 19
             // @todo this could be part of the StandardRule class
20
-            $body = (string)$response->getBody();
20
+            $body = (string) $response->getBody();
21 21
             $body = preg_replace('/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F,\xFF,\x8B]/', '', $body);
22 22
 
23 23
             if (($response->getStatusCode() < 300 || $response->getStatusCode() >= 400)
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
                 && strlen($body) > 0
26 26
             ) {
27 27
                 if (stripos($body, '</html>') === false) {
28
-                    throw new ValidationFailedException('Closing html tag is missing (document length: ' . strlen($body) . ').');
28
+                    throw new ValidationFailedException('Closing html tag is missing (document length: '.strlen($body).').');
29 29
                 }
30 30
             }
31 31
         }
Please login to merge, or discard this patch.